mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Since gcc 4.2 complains about it on OS X 10.7, use initputs instead of initprintf when printing a single argument, even if it is already char const *.
git-svn-id: https://svn.eduke32.com/eduke32@5383 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d7f82d9898
commit
d58bfb59dd
1 changed files with 2 additions and 2 deletions
|
@ -8302,7 +8302,7 @@ static void loadpalette(void)
|
||||||
{
|
{
|
||||||
if (klseek(fil, -4, BSEEK_CUR) < 0)
|
if (klseek(fil, -4, BSEEK_CUR) < 0)
|
||||||
{
|
{
|
||||||
initprintf(seekfail);
|
initputs(seekfail);
|
||||||
return kclose(fil);
|
return kclose(fil);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8313,7 +8313,7 @@ static void loadpalette(void)
|
||||||
{
|
{
|
||||||
if (klseek(fil, -2, BSEEK_CUR) < 0)
|
if (klseek(fil, -2, BSEEK_CUR) < 0)
|
||||||
{
|
{
|
||||||
initprintf(seekfail);
|
initputs(seekfail);
|
||||||
return kclose(fil);
|
return kclose(fil);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue