(svn r6387) Fix: removed OSX specific warning
authorglx
Mon, 04 Sep 2006 22:53:38 +0000
changeset 4552 7bcdc71cc74e
parent 4551 4c0ef5b749fe
child 4553 28f1813ff4ec
(svn r6387) Fix: removed OSX specific warning
settings_gui.c
--- a/settings_gui.c	Mon Sep 04 22:22:38 2006 +0000
+++ b/settings_gui.c	Mon Sep 04 22:53:38 2006 +0000
@@ -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;