include: Avoid narrowing conversions in struct initializers.
Fixes using the header from C++. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
472aa033fb
commit
f976fb53ad
|
@ -360,9 +360,9 @@ static inline const char *wine_dbgstr_variant( const VARIANT *v )
|
|||
#define WINE_ERR_ON(ch) __WINE_IS_DEBUG_ON(_ERR,&__wine_dbch_##ch)
|
||||
|
||||
#define WINE_DECLARE_DEBUG_CHANNEL(ch) \
|
||||
static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch }
|
||||
static struct __wine_debug_channel __wine_dbch_##ch = { 0xff, #ch }
|
||||
#define WINE_DEFAULT_DEBUG_CHANNEL(ch) \
|
||||
static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch }; \
|
||||
static struct __wine_debug_channel __wine_dbch_##ch = { 0xff, #ch }; \
|
||||
static struct __wine_debug_channel * const __wine_dbch___default = &__wine_dbch_##ch
|
||||
|
||||
#define WINE_DPRINTF wine_dbg_printf
|
||||
|
|
Loading…
Reference in New Issue