From d97d922afd5215327aa3613fae07c977a5ef4f11 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 11 Apr 2019 09:18:46 +0200 Subject: [PATCH] include: Add cast to avoid a compiler warning on MSVC. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46991 Signed-off-by: Alexandre Julliard --- include/wine/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wine/debug.h b/include/wine/debug.h index 6a981d659b1..aa4dc0d77e0 100644 --- a/include/wine/debug.h +++ b/include/wine/debug.h @@ -290,7 +290,7 @@ static inline const char *wine_dbgstr_wn( const WCHAR *str, int n ) *dst++ = hex[(c >> 4) & 0x0f]; *dst++ = hex[c & 0x0f]; } - else *dst++ = c; + else *dst++ = (char)c; } } *dst++ = '"';