diff options
author | rubidium <rubidium@openttd.org> | 2008-08-13 14:26:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-13 14:26:20 +0000 |
commit | 8e8fabd27c1d3243b3524ed31d4b30787b8664d8 (patch) | |
tree | 6d257b94af0848448777903f8a77e73ada443ec1 /src/console_gui.cpp | |
parent | 8dffbcfd26e4238285ac6d07090976eb125b48da (diff) | |
download | openttd-8e8fabd27c1d3243b3524ed31d4b30787b8664d8.tar.xz |
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r-- | src/console_gui.cpp | 2 |
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; |