From da35c171a1d649d33871708c75d645e5fe2dcfc4 Mon Sep 17 00:00:00 2001 From: George Williams Date: Sun, 22 Dec 2002 04:38:38 +0000 Subject: 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. --- showfond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'showfond.c') 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; -- cgit v1.2.3