Return to file.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.112, 2005/08/11 11:54:42 | version 1.113, 2005/08/14 19:49:18 | ||
---|---|---|---|
|
|
||
size_t nb; | size_t nb; | ||
CVSFILE *cf, **cfvec; | CVSFILE *cf, **cfvec; | ||
cfvec = (CVSFILE **)calloc(nfiles, sizeof(CVSFILE *)); | cfvec = (CVSFILE **)calloc((size_t)nfiles, sizeof(CVSFILE *)); | ||
if (cfvec == NULL) { | if (cfvec == NULL) { | ||
cvs_log(LP_ERRNO, "failed to allocate sorting vector"); | cvs_log(LP_ERRNO, "failed to allocate sorting vector"); | ||
return (-1); | return (-1); |