From 619f884cc5d4bb8669ae211c21417837e91e0d57 Mon Sep 17 00:00:00 2001 From: glx Date: Mon, 4 Sep 2006 22:53:38 +0000 Subject: [PATCH] (svn r6387) Fix: removed OSX specific warning --- settings_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings_gui.c b/settings_gui.c index adecd78305..eabe268995 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;