- Fix 43192 -- MAXUINT and MAXULONGLONG are only defined for Vista and later.
[reactos.git] / reactos / dll / cpl / main / mouse.c
index ee48617..689334f 100644 (file)
@@ -971,7 +971,7 @@ OnDrawItem(UINT idCtl,
                    GetSysColor(COLOR_WINDOWTEXT));
     }
 
-    if (lpdis->itemID != MAXUINT)
+    if (lpdis->itemID != (UINT)-1)
     {
         CopyRect(&rc, &lpdis->rcItem);
         rc.left += 5;