From 5da6896d51ae3ee5140dc1041eff44a616751231 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 5 Dec 2014 16:09:49 +1000 Subject: Fix MSVC build Note: The unit test was technically incorrect for all platforms but passes due to implicit casting --- src/hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hud.cpp') diff --git a/src/hud.cpp b/src/hud.cpp index eb2dca573..59e8b8f27 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -238,7 +238,7 @@ void Hud::drawItems(v2s32 upperleftpos, s32 itemcount, s32 offset, void Hud::drawLuaElements(v3s16 camera_offset) { - uint32_t text_height = g_fontengine->getTextHeight(); + u32 text_height = g_fontengine->getTextHeight(); irr::gui::IGUIFont* font = g_fontengine->getFont(); for (size_t i = 0; i != player->maxHudId(); i++) { HudElement *e = player->getHud(i); -- cgit v1.2.3