diff --git a/common.c b/common.c index d4d5827cc..131e5ce02 100644 --- a/common.c +++ b/common.c @@ -838,7 +838,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special ) int base=16; int byte = 0; - int max_val = 127; + wchar_t max_val = 127; switch( in[in_pos] ) {