Commit 73a6470d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Use unsigned types for single-bit fields.

parent d9290624
...@@ -100,8 +100,8 @@ struct dwrite_font_data ...@@ -100,8 +100,8 @@ struct dwrite_font_data
LOGFONTW lf; LOGFONTW lf;
/* used to mark font as tested when scanning for simulation candidate */ /* used to mark font as tested when scanning for simulation candidate */
BOOL bold_sim_tested : 1; unsigned int bold_sim_tested : 1;
BOOL oblique_sim_tested : 1; unsigned int oblique_sim_tested : 1;
}; };
struct dwrite_fontfamily_data struct dwrite_fontfamily_data
...@@ -114,9 +114,9 @@ struct dwrite_fontfamily_data ...@@ -114,9 +114,9 @@ struct dwrite_fontfamily_data
size_t size; size_t size;
size_t count; size_t count;
BOOL has_normal_face : 1; unsigned int has_normal_face : 1;
BOOL has_oblique_face : 1; unsigned int has_oblique_face : 1;
BOOL has_italic_face : 1; unsigned int has_italic_face : 1;
}; };
struct dwrite_fontcollection struct dwrite_fontcollection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment