summaryrefslogtreecommitdiff
path: root/showfond.c
diff options
context:
space:
mode:
authorGeorge Williams <gww@silcom.com>2002-12-22 04:38:38 +0000
committerGeorge Williams <gww@silcom.com>2002-12-22 04:38:38 +0000
commitda35c171a1d649d33871708c75d645e5fe2dcfc4 (patch)
tree7ffca124aa2f34d9cd9c7a271ef17b85e6386ebb /showfond.c
parent7408ae59bd586e94c3b51bea73428e37b491f73b (diff)
I wasn't generating macbinary files properly
* Didn't notice that the sections had to be padded out to 128 bytes. * Got the crc wrong. I'm fed up with the fact that I can't find something that will generate a macbinary file so I wrote such a utility.
Diffstat (limited to 'showfond.c')
-rw-r--r--showfond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/showfond.c b/showfond.c
index afbce49..1f9f037 100644
--- a/showfond.c
+++ b/showfond.c
@@ -529,7 +529,7 @@ static int HasResourceFork(char *filename) {
FSRef ref;
FSSpec spec;
short res;
- int cnt, ret;
+ long cnt; int ret;
FILE *temp;
char *buf;