#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 = { (unsigned char)~0, #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 = { (unsigned char)~0, #ch }; \
static struct __wine_debug_channel * const __wine_dbch___default = &__wine_dbch_##ch
#define WINE_DPRINTF wine_dbg_printf