[PATCH] include: Add cast to avoid a compiler warning on MSVC.
13 Apr
2019
13 Apr
'19
3:13 a.m.
Signed-off-by: Mathew Hodson <mathew.hodson(a)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
2526
Age (days ago)
2526
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mathew Hodson