Compiler cleanup
This commit is contained in:
parent
7075a3ec5c
commit
9f1f586714
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ fprintf (iFile, "#define ROM_%s_H 0\n", rom_array_name);
|
||||||
fprintf (iFile, "/*\n");
|
fprintf (iFile, "/*\n");
|
||||||
fprintf (iFile, " %s produced at %s", include_filename, ctime(&now));
|
fprintf (iFile, " %s produced at %s", include_filename, ctime(&now));
|
||||||
fprintf (iFile, " from %s which was last modified at %s", rom_filename, ctime(&statb.st_mtime));
|
fprintf (iFile, " from %s which was last modified at %s", rom_filename, ctime(&statb.st_mtime));
|
||||||
fprintf (iFile, " file size: %d (0x%X)\n", statb.st_size, statb.st_size);
|
fprintf (iFile, " file size: %d (0x%X)\n", (int)statb.st_size, (int)statb.st_size);
|
||||||
fprintf (iFile, "*/\n");
|
fprintf (iFile, "*/\n");
|
||||||
fprintf (iFile, "unsigned char %s[] = {", rom_array_name);
|
fprintf (iFile, "unsigned char %s[] = {", rom_array_name);
|
||||||
for (bytes_written=0;bytes_written<statb.st_size; ++bytes_written) {
|
for (bytes_written=0;bytes_written<statb.st_size; ++bytes_written) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue