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

Diff for /src/usr.bin/cvs/Attic/hist.c between version 1.9 and 1.10

version 1.9, 2005/08/02 20:05:42 version 1.10, 2005/08/14 19:49:18
Line 61 
Line 61 
         }          }
         memset(histp, 0, sizeof(*histp));          memset(histp, 0, sizeof(*histp));
   
         histp->chf_buf = (char *)malloc(CVS_HIST_BUFSIZE);          histp->chf_buf = (char *)malloc((size_t)CVS_HIST_BUFSIZE);
         if (histp->chf_buf == NULL) {          if (histp->chf_buf == NULL) {
                 cvs_log(LP_ERRNO,                  cvs_log(LP_ERRNO,
                     "failed to allocate CVS history parse buffer");                      "failed to allocate CVS history parse buffer");

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