Commit 2652a9420f8b3646b6cb30d300f838b8e2ffaf59

Authored by Diego Herranz
Committed by Gordon Hollingworth
1 parent be1bc642

usbboot: Use "%ld" in printf for ftell return value (long int).

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -214,7 +214,7 @@ int main(int argc, char *argv[])
214 214 }
215 215 fseek(fp_img, 0, SEEK_END);
216 216 message.length += ftell(fp_img);
217   - if(verbose) printf("Adding %d bytes of binary to end of elf\n", ftell(fp_img));
  217 + if(verbose) printf("Adding %ld bytes of binary to end of elf\n", ftell(fp_img));
218 218 fseek(fp_img, 0, SEEK_SET);
219 219 }
220 220  
... ...