oleaut32: Fix a signed/unsigned mismatch.
Francois Gouget
fgouget at free.fr
Thu Aug 2 17:48:13 CDT 2007
---
PICTYPE_UNINITIALIZED is defined as -1, but picType is an unsigned
integrer. Hopefully the compiler does not mind, but still...
dlls/oleaut32/olepicture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index a7dc158..ca46d01 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -545,7 +545,7 @@ static HRESULT WINAPI OLEPictureImpl_get_hPal(IPicture *iface,
return E_POINTER;
switch (This->desc.picType) {
- case PICTYPE_UNINITIALIZED:
+ case (UINT)PICTYPE_UNINITIALIZED:
case PICTYPE_NONE:
*phandle = 0;
hres = S_FALSE;
--
1.4.4.4
More information about the wine-patches
mailing list