Ken Thomases : winemac: Use unsigned type for bitfields.

Alexandre Julliard julliard at winehq.org
Tue Oct 8 15:41:06 CDT 2013


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

Author: Ken Thomases <ken at codeweavers.com>
Date:   Tue Oct  8 02:21:21 2013 -0500

winemac: Use unsigned type for bitfields.

---

 dlls/winemac.drv/macdrv.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/winemac.drv/macdrv.h b/dlls/winemac.drv/macdrv.h
index e6b5295..e2a54cc 100644
--- a/dlls/winemac.drv/macdrv.h
+++ b/dlls/winemac.drv/macdrv.h
@@ -131,12 +131,12 @@ struct macdrv_win_data
     macdrv_view         gl_view;                /* view for GL */
     RECT                gl_rect;                /* GL view rectangle relative to whole_rect */
     COLORREF            color_key;              /* color key for layered window; CLR_INVALID is not color keyed */
-    BOOL                on_screen : 1;          /* is window ordered in? (minimized or not) */
-    BOOL                shaped : 1;             /* is window using a custom region shape? */
-    BOOL                layered : 1;            /* is window layered and with valid attributes? */
-    BOOL                ulw_layered : 1;        /* has UpdateLayeredWindow() been called for window? */
-    BOOL                per_pixel_alpha : 1;    /* is window using per-pixel alpha? */
-    BOOL                minimized : 1;          /* is window minimized? */
+    unsigned int        on_screen : 1;          /* is window ordered in? (minimized or not) */
+    unsigned int        shaped : 1;             /* is window using a custom region shape? */
+    unsigned int        layered : 1;            /* is window layered and with valid attributes? */
+    unsigned int        ulw_layered : 1;        /* has UpdateLayeredWindow() been called for window? */
+    unsigned int        per_pixel_alpha : 1;    /* is window using per-pixel alpha? */
+    unsigned int        minimized : 1;          /* is window minimized? */
     struct window_surface *surface;
     struct window_surface *unminimized_surface;
 };




More information about the wine-cvs mailing list