summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
19c3123)
**L would have worked well too. Depending on the distribution sizeof *L
may return 8 instead of 4. **L is preferable, but since we don't expect
this datatype to change very often, sizeof int is less subtle and easier
to understand.
Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
- memset(*L, 0, sizeof(*L) * MAX_SSDIFF_SIZE);
+ memset(*L, 0, sizeof(int) * MAX_SSDIFF_SIZE);