summaryrefslogtreecommitdiffstats
path: root/utils/jz4740_tools/HXFmerge.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/jz4740_tools/HXFmerge.c')
-rwxr-xr-xutils/jz4740_tools/HXFmerge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/jz4740_tools/HXFmerge.c b/utils/jz4740_tools/HXFmerge.c
index 40c36e7bc7..f90d094fd9 100755
--- a/utils/jz4740_tools/HXFmerge.c
+++ b/utils/jz4740_tools/HXFmerge.c
@@ -193,10 +193,10 @@ static void print_usage(void)
#endif
}
-static unsigned int checksum(FILE *file)
+static int checksum(FILE *file)
{
int oldpos = ftell(file);
- unsigned int ret, i, filesize = _filesize(file)-0x40;
+ int ret=0, i, filesize = _filesize(file)-0x40;
unsigned char *buf;
buf = (unsigned char*)malloc(filesize);