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

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 25 14:43:25 CDT 2007


Module: wine
Branch: master
Commit: 7043b7baa411901762459e4c214eb04120f63995
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7043b7baa411901762459e4c214eb04120f63995

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu May 24 01:32:18 2007 +0200

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

---

 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




More information about the wine-cvs mailing list