summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-09-04 22:53:38 +0000
committerglx <glx@openttd.org>2006-09-04 22:53:38 +0000
commit619f884cc5d4bb8669ae211c21417837e91e0d57 (patch)
treec9561e186e01deffa188cd36c11cffeaeb50171b
parent9aa84ab2d2c452b9b1b61c3f9505af87ccf5412f (diff)
downloadopenttd-619f884cc5d4bb8669ae211c21417837e91e0d57.tar.xz
(svn r6387) Fix: removed OSX specific warning
-rw-r--r--settings_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c
index adecd7830..eabe26899 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -960,7 +960,7 @@ static void NewgrfWndProc(Window *w, WindowEvent *e)
// draw grf id
x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
- snprintf(_userstring, lengthof(_userstring), "%08X", BSWAP32(_sel_grffile->grfid));
+ snprintf(_userstring, lengthof(_userstring), "%08X", (uint32)BSWAP32(_sel_grffile->grfid));
DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
}
} break;