mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 21:55:28 +00:00
Signed/unsigned warnings and some formatting.
This commit is contained in:
parent
6f9336dd31
commit
9c74339c32
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue