mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use long for file offsets.
This commit is contained in:
@@ -353,7 +353,8 @@ main(int argc, char *argv[])
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* We will pad the ROM to match the size given in the header. */
|
/* 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;
|
uint8_t *buf;
|
||||||
fseek(rom, 0, SEEK_END);
|
fseek(rom, 0, SEEK_END);
|
||||||
romsize = ftell(rom);
|
romsize = ftell(rom);
|
||||||
|
|||||||
Reference in New Issue
Block a user