From 5863a6088dd8d892c30f6cf3262ce8294af261ee Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 13 Jan 2007 15:55:22 +0000 Subject: (svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast --- src/newgrf_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 0854b18f6..8b1203563 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -50,7 +50,7 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint w, bool show } /* Prepare and draw GRF ID */ - snprintf(buff, lengthof(buff), "%08X", (uint32)BSWAP32(c->grfid)); + snprintf(buff, lengthof(buff), "%08X", BSWAP32(c->grfid)); SetDParamStr(0, buff); y += DrawStringMultiLine(x, y, STR_NEWGRF_GRF_ID, w); -- cgit v1.2.3-54-g00ecf