include: Add cast to avoid a compiler warning on MSVC.

Signed-off-by: Mathew Hodson <mathew.hodson@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Mathew Hodson 2019-04-12 22:13:25 -04:00 committed by Alexandre Julliard
parent 9d250fbfa2
commit a640a7a32f
1 changed files with 1 additions and 1 deletions

View File

@ -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++ = '\\';