diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1994-11-05 17:08:28 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1994-11-05 17:08:28 +0000 |
commit | 2a4a3e671106e3b75c3322f4eb0e4133f9293df3 (patch) | |
tree | e6eee935f82bcb99a1f6c69e6c73a912eee3ecbd /tblcmp.c | |
parent | 508dc407c93dfa2d05f649cb3665a313104ed327 (diff) |
size_t tweaks
Diffstat (limited to 'tblcmp.c')
-rw-r--r-- | tblcmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -310,7 +310,7 @@ void expand_nxt_chk() chk = reallocate_integer_array( chk, current_max_xpairs ); zero_out( (char *) (chk + old_max), - MAX_XPAIRS_INCREMENT * sizeof( int ) / sizeof( char ) ); + (size_t) (MAX_XPAIRS_INCREMENT * sizeof( int )) ); } @@ -436,8 +436,7 @@ void inittbl() { register int i; - zero_out( (char *) chk, - current_max_xpairs * sizeof( int ) / sizeof( char ) ); + zero_out( (char *) chk, (size_t) (current_max_xpairs * sizeof( int )) ); tblend = 0; firstfree = tblend + 1; |