The filesize needs a 32 bit variable, not 16

This commit is contained in:
Bobbi Webber-Manners 2020-07-28 19:20:00 -04:00
parent 15c0e90323
commit b77c7ad996

View File

@ -233,7 +233,8 @@ done:
*/
void attach(char *fname) {
FILE *fp, *fp2, *destfp;
uint16_t chars, i, size;
uint16_t chars, i;
uint32_t size;
char *s;
videomode(VIDEOMODE_80COL);
printf("%c%s ATTACHER%c\n\n", 0x0f, PROGNAME, 0x0e);