home: hub: 9ficl

Download patch

ref: baa937ce0cb5fe512fb5f24ef02b647089722123
parent: cc429dff484230c669a3b199e6be84c756dffa6a
author: asau <asau@ficl.sf.net>
date: Fri Sep 10 05:45:51 CDT 2010

Use "size_t" per function signature.
This fixes crashes on 64-bit platforms.

--- a/softcore/makesoftcore.c
+++ b/softcore/makesoftcore.c
@@ -76,8 +76,8 @@
 	unsigned char *compressed;
 	char *trace = uncompressed;
 	int i;
-	int compressedSize;
-	int uncompressedSize;
+	size_t compressedSize;
+	size_t uncompressedSize;
 	char *src, *dst;
 	FILE *f;
 	time_t currentTimeT;