]> granicus.if.org Git - cgit/commit
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)
commit6a575b8900734a4640427416885e73c83af70736
treee354052b72c10696df3fce3b94b0d279f1bfdced
parent19c31231fac828bb336db67b8cccc871bea1500e
use correct type for sizeof

**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>
ui-ssdiff.c