diff options
Diffstat (limited to 'Source/kwsys/EncodeExecutable.c')
-rw-r--r-- | Source/kwsys/EncodeExecutable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/EncodeExecutable.c b/Source/kwsys/EncodeExecutable.c index 9db0fb9..2994129 100644 --- a/Source/kwsys/EncodeExecutable.c +++ b/Source/kwsys/EncodeExecutable.c @@ -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); |