ERR: Added explicit cast from size_t to int. We know that the data will not be out of range.

This commit is contained in:
Brad King 2003-07-01 08:54:42 -04:00
parent 6c66cdd28d
commit 11de69901e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ int main(int argc, char* argv[])
fprintf(ofp, "#include <stdio.h>\n\n");
/* Split file up in 1024-byte chunks. */
while((n = fread(buffer, 1, 1024, ifp)) > 0)
while((n = (int)fread(buffer, 1, 1024, ifp)) > 0)
{
fprintf(ofp, "static unsigned char kwsysEncodedArray%s_%d[%d] = {\n",
argv[4], count++, n);