]> gitweb.ps.run Git - ps-cgit/commitdiff
use correct type for sizeof
authorJamie Couture <jamie.couture@gmail.com>
Thu, 12 Jan 2012 03:38:49 +0000 (22:38 -0500)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Mar 2012 09:26:31 +0000 (09:26 +0000)
**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>

No differences found