mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
generateicon: fix inconsistent format letter vs. vararg in fprintf.
git-svn-id: https://svn.eduke32.com/eduke32@2598 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5777eae026
commit
714ecf0a21
1 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,7 @@ int writeicon(FILE *fp, struct icon *ico)
|
||||||
for (i=0;i<ico->width*ico->height;i++) {
|
for (i=0;i<ico->width*ico->height;i++) {
|
||||||
if ((i%6) == 0) Bfprintf(fp,"\t");
|
if ((i%6) == 0) Bfprintf(fp,"\t");
|
||||||
else Bfprintf(fp," ");
|
else Bfprintf(fp," ");
|
||||||
Bfprintf(fp, "0x%08x,", B_LITTLE32(ico->pixels[i]));
|
Bfprintf(fp, "0x%08lx,", (long)B_LITTLE32(ico->pixels[i]));
|
||||||
if ((i%6) == 5) Bfprintf(fp,"\n");
|
if ((i%6) == 5) Bfprintf(fp,"\n");
|
||||||
}
|
}
|
||||||
if ((i%16) > 0) Bfprintf(fp, "\n");
|
if ((i%16) > 0) Bfprintf(fp, "\n");
|
||||||
|
@ -110,4 +110,3 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue