From e713122e7fe86c2039b1559d05d2f2dafe90a3da Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew" Date: Sat, 7 May 2011 12:43:00 +0000 Subject: [PATCH] fix PSP build --- projects/mtg/src/GuiMana.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/GuiMana.cpp b/projects/mtg/src/GuiMana.cpp index 57a6d694c..3f1fbaac2 100644 --- a/projects/mtg/src/GuiMana.cpp +++ b/projects/mtg/src/GuiMana.cpp @@ -258,7 +258,7 @@ void GuiMana::RenderStatic() return; float x0 = x - 20 * totalColors; - x0 = max(40, x0); + x0 = max(40.f, x0); float xEnd = x0 + 20 * totalColors; r->FillRoundRect(x0, y - 5, static_cast (20 * totalColors + 5), 20, 2, ARGB(128,0,0,0));