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:
parent
6c66cdd28d
commit
11de69901e
@ -54,7 +54,7 @@ int main(int argc, char* argv[])
|
|||||||
fprintf(ofp, "#include <stdio.h>\n\n");
|
fprintf(ofp, "#include <stdio.h>\n\n");
|
||||||
|
|
||||||
/* Split file up in 1024-byte chunks. */
|
/* 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",
|
fprintf(ofp, "static unsigned char kwsysEncodedArray%s_%d[%d] = {\n",
|
||||||
argv[4], count++, n);
|
argv[4], count++, n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user