usbboot: Use "%ld" in printf for ftell return value (long int).
This commit is contained in:
committed by
Gordon Hollingworth
parent
be1bc64249
commit
2652a9420f
2
main.c
2
main.c
@@ -214,7 +214,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
fseek(fp_img, 0, SEEK_END);
|
||||
message.length += ftell(fp_img);
|
||||
if(verbose) printf("Adding %d bytes of binary to end of elf\n", ftell(fp_img));
|
||||
if(verbose) printf("Adding %ld bytes of binary to end of elf\n", ftell(fp_img));
|
||||
fseek(fp_img, 0, SEEK_SET);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user