[BACK]Return to tblcmp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / lex

Diff for /src/usr.bin/lex/tblcmp.c between version 1.8 and 1.9

version 1.8, 2015/11/19 22:55:13 version 1.9, 2015/11/19 23:04:51
Line 310 
Line 310 
         nxt = reallocate_integer_array(nxt, current_max_xpairs);          nxt = reallocate_integer_array(nxt, current_max_xpairs);
         chk = reallocate_integer_array(chk, current_max_xpairs);          chk = reallocate_integer_array(chk, current_max_xpairs);
   
         zero_out((char *) (chk + old_max),          memset((chk + old_max), 0, MAX_XPAIRS_INCREMENT * sizeof(int));
             (size_t) (MAX_XPAIRS_INCREMENT * sizeof(int)));  
 }  }
   
   
Line 440 
Line 439 
 {  {
         int i;          int i;
   
         zero_out((char *) chk,          memset(chk, 0, current_max_xpairs * sizeof(int));
   
             (size_t) (current_max_xpairs * sizeof(int)));  
   
         tblend = 0;          tblend = 0;
         firstfree = tblend + 1;          firstfree = tblend + 1;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9