Return to hist.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.9, 2005/08/02 20:05:42 | version 1.10, 2005/08/14 19:49:18 | ||
---|---|---|---|
|
|
||
} | } | ||
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"); |