summaryrefslogtreecommitdiff
path: root/src/tblcmp.c
diff options
context:
space:
mode:
authorrlar <rlar>2016-02-28 14:48:51 +0100
committerWill Estes <westes575@gmail.com>2016-03-12 14:10:48 -0500
commitfb60d5a04e89329613942e9fca6ef2fa6b67f694 (patch)
treecb2ee0331b08566a1206485d7d0f8ce822bc197e /src/tblcmp.c
parent3d640d049d1ba1de2547764f4c2a9c498d193eeb (diff)
another cast in tblcmp.c to avoid warning
Diffstat (limited to 'src/tblcmp.c')
-rw-r--r--src/tblcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tblcmp.c b/src/tblcmp.c
index b0dc8b3..9684525 100644
--- a/src/tblcmp.c
+++ b/src/tblcmp.c
@@ -420,7 +420,7 @@ void inittbl (void)
{
int i;
- memset(chk, 0, current_max_xpairs * sizeof(int));
+ memset(chk, 0, (size_t) current_max_xpairs * sizeof(int));
tblend = 0;
firstfree = tblend + 1;