summaryrefslogtreecommitdiff
path: root/tblcmp.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1994-11-05 17:08:28 +0000
committerVern Paxson <vern@ee.lbl.gov>1994-11-05 17:08:28 +0000
commit2a4a3e671106e3b75c3322f4eb0e4133f9293df3 (patch)
treee6eee935f82bcb99a1f6c69e6c73a912eee3ecbd /tblcmp.c
parent508dc407c93dfa2d05f649cb3665a313104ed327 (diff)
size_t tweaks
Diffstat (limited to 'tblcmp.c')
-rw-r--r--tblcmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tblcmp.c b/tblcmp.c
index e8dd615..32d2cd5 100644
--- a/tblcmp.c
+++ b/tblcmp.c
@@ -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;