Signed/unsigned warnings and some formatting.

This commit is contained in:
Rolf Kalbermatter 2003-09-15 22:13:40 +00:00 committed by Alexandre Julliard
parent 6f9336dd31
commit 9c74339c32
2 changed files with 11 additions and 11 deletions

View file

@ -592,7 +592,7 @@ HICON WINAPI ExtractIconW(HINSTANCE hInstance, LPCWSTR lpszFile, UINT nIconIndex
TRACE("%p %s %d\n", hInstance, debugstr_w(lpszFile), nIconIndex);
if (nIconIndex == -1) {
if (nIconIndex == 0xFFFFFFFF) {
ret = PrivateExtractIconsW(lpszFile, 0, cx, cy, NULL, NULL, 0, LR_DEFAULTCOLOR);
if (ret != 0xFFFFFFFF && ret)
return (HICON)ret;

View file

@ -1111,7 +1111,7 @@ BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
TRACE("%p %d \n",cs,length);
if( (cs == NULL) || (length < sizeof(*cs)) )
if( (cs == NULL) || (length < (int)sizeof(*cs)) )
return FALSE;
r = RegOpenKeyW( HKEY_CURRENT_USER, szwCabLocation, &hkey );