diff options
author | George Williams <gww@silcom.com> | 2002-12-22 04:38:38 +0000 |
---|---|---|
committer | George Williams <gww@silcom.com> | 2002-12-22 04:38:38 +0000 |
commit | da35c171a1d649d33871708c75d645e5fe2dcfc4 (patch) | |
tree | 7ffca124aa2f34d9cd9c7a271ef17b85e6386ebb /showfond.c | |
parent | 7408ae59bd586e94c3b51bea73428e37b491f73b (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |