summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-04-13 15:07:36 +0000
committerglx <glx@openttd.org>2008-04-13 15:07:36 +0000
commit5e2a5953a460a9ecb4aa428ac0e34074d6329461 (patch)
treecafe3389756d44347e5da58d32dd5811825e7e55
parent305dc1001bf3181409feb2e8b0c49b9788b1b290 (diff)
downloadopenttd-5e2a5953a460a9ecb4aa428ac0e34074d6329461.tar.xz
(svn r12686) -Fix: MSVC signed/unsigned warning
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 518c36864..05ae107f9 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -778,7 +778,7 @@ static int DrawStationCoverageText(const AcceptedCargo cargo,
case SCT_ALL: break;
default: NOT_REACHED();
}
- if (cargo[i] >= (supplies ? 1 : 8)) {
+ if (cargo[i] >= (supplies ? 1U : 8U)) {
if (first) {
first = false;
} else {