[PATCH] include: Add cast to avoid a compiler warning on MSVC.
Mathew Hodson
mathew.hodson at gmail.com
Fri Apr 12 21:13:25 CDT 2019
Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
---
include/wine/test.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/wine/test.h b/include/wine/test.h
index 22ba7e8..0797204 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -511,7 +511,7 @@ const char *wine_dbgstr_wn( const WCHAR *str, int n )
case '\\': *dst++ = '\\'; *dst++ = '\\'; break;
default:
if (c >= ' ' && c <= 126)
- *dst++ = c;
+ *dst++ = (char)c;
else
{
*dst++ = '\\';
--
2.7.4
More information about the wine-devel
mailing list