msi: A signed 1-bit bitfield doesn't make much sense; use unsigned.

Michael Stefaniuc mstefani at redhat.de
Wed May 23 18:32:18 CDT 2007


Found by sparse.
---
 dlls/msi/msipriv.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h
index a8d833f..bcb7512 100644
--- a/dlls/msi/msipriv.h
+++ b/dlls/msi/msipriv.h
@@ -300,9 +300,9 @@ typedef struct tagMSICOMPONENT
     LPWSTR FullKeypath;
     LPWSTR AdvertiseString;
 
-    int hasAdvertiseFeature:1;
-    int hasLocalFeature:1;
-    int hasSourceFeature:1;
+    unsigned int hasAdvertiseFeature:1;
+    unsigned int hasLocalFeature:1;
+    unsigned int hasSourceFeature:1;
 } MSICOMPONENT;
 
 typedef struct tagComponentList
-- 
1.5.0.6


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070524/774c9bdd/attachment.pgp


More information about the wine-patches mailing list