projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct long-size bug that resulted in checksum error.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 391b43c4d06eae816b5b6437f18614f6bf953480..711d9a976e398e7900d21384b877cabeb4fc2ed6 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-1004,8
+1004,8
@@
L20: printf("\nFile name: ");
if(F == NULL) {printf("Can't open file, try again.\n"); goto L20;}
return;
-L30: if(IN)IGNORE(fread(ARR,
4
,250,F));
- if(!IN)fwrite(ARR,
4
,250,F);
+L30: if(IN)IGNORE(fread(ARR,
sizeof(long)
,250,F));
+ if(!IN)fwrite(ARR,
sizeof(long)
,250,F);
return;
}