]> granicus.if.org Git - flex/commitdiff
another cast in tblcmp.c to avoid warning
authorrlar <rlar>
Sun, 28 Feb 2016 13:48:51 +0000 (14:48 +0100)
committerWill Estes <westes575@gmail.com>
Sat, 12 Mar 2016 19:10:48 +0000 (14:10 -0500)
src/tblcmp.c

index b0dc8b349fc1fb8fff4a139584c6248658f0cce3..9684525b55c253b7dabebf04d35b245f8f282d14 100644 (file)
@@ -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;