(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
authorrubidium
Wed, 13 Aug 2008 14:26:20 +0000
changeset 9915 9c9960c44822
parent 9914 c07d0352d8d5
child 9916 40b0040c754b
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
src/console_gui.cpp
--- a/src/console_gui.cpp	Wed Aug 13 06:22:04 2008 +0000
+++ b/src/console_gui.cpp	Wed Aug 13 14:26:20 2008 +0000
@@ -99,7 +99,7 @@
 				return true;
 			}
 
-			if (item->time != MAX_UVALUE(typeof(item->time))) item->time++;
+			if (item->time != MAX_UVALUE(uint16)) item->time++;
 		}
 
 		return false;