settings_gui.c
changeset 4552 7bcdc71cc74e
parent 4549 60410aa1aa88
child 4616 baa9d4436b9e
--- 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;