ref: 33ae6d8ca32eae8c04e31d5236782dda60c5725c
parent: ebc9a4b78615cf34cf71094d70f33118cd4979c8
author: Anthony J. Bentley <[email protected]>
date: Sat Mar 7 09:21:57 EST 2015
Use long for file offsets.
--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -353,7 +353,8 @@
*/
/* We will pad the ROM to match the size given in the header. */
- int romsize, newsize, headbyte;
+ long romsize, newsize;
+ int headbyte;
uint8_t *buf;
fseek(rom, 0, SEEK_END);
romsize = ftell(rom);