changeset 4552:a8115885fdbb draft

(svn r6387) Fix: removed OSX specific warning
author glx <glx@openttd.org>
date Mon, 04 Sep 2006 22:53:38 +0000
parents c0fbb6d07ec5
children 9dac815dde28
files settings_gui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -960,7 +960,7 @@
 
 			// 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;