diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -50,7 +50,7 @@ static void ShowNewGRFInfo(const GRFConf } /* 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);