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
commit0b3a78b927fc20452f4067d8ece9abfa0ad2ea21 (patch)
treecafe3389756d44347e5da58d32dd5811825e7e55
parent821ef83af9b82bc039af30d12e842c3eba532f6c (diff)
downloadopenttd-0b3a78b927fc20452f4067d8ece9abfa0ad2ea21.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 {