summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-13 14:26:20 +0000
committerrubidium <rubidium@openttd.org>2008-08-13 14:26:20 +0000
commite5bdcfaf9e1daf40aac89dd46aaf3f4090a43b31 (patch)
tree6d257b94af0848448777903f8a77e73ada443ec1
parent2d94337e1ac754f6181d537708fe3a187d2c7400 (diff)
downloadopenttd-e5bdcfaf9e1daf40aac89dd46aaf3f4090a43b31.tar.xz
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
-rw-r--r--src/console_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp
index 7ea572230..295d461d7 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -99,7 +99,7 @@ struct IConsoleLine {
return true;
}
- if (item->time != MAX_UVALUE(typeof(item->time))) item->time++;
+ if (item->time != MAX_UVALUE(uint16)) item->time++;
}
return false;