# HG changeset patch # User rubidium # Date 2008-08-13 14:26:20 # Node ID bb102be5aab8c92e6e4754d0a9cd46e12ce5d05a # Parent 213bce2115cba38603f705580aa50008280aa2db (svn r14068) -Fix (r14056): MSVC doesn't support typeof. diff --git a/src/console_gui.cpp b/src/console_gui.cpp --- 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;