From 15eb8da2da4c40c34c52b62c8eeda0e715c06d4a Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sun, 31 Aug 2008 12:20:35 +0000 Subject: [PATCH] -BugFix: must use const_wchar_T [r21584] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 88f10dd..5961692 100644 --- a/parser.c +++ b/parser.c @@ -5535,7 +5535,7 @@ static expression_t *parse_string_const(void) default: { expression_t *const cnst = allocate_expression_zero(EXPR_WIDE_STRING_LITERAL); - cnst->base.type = warning.write_strings ? type_const_char_ptr : type_wchar_t_ptr; + cnst->base.type = warning.write_strings ? type_const_wchar_t_ptr : type_wchar_t_ptr; cnst->wide_string.value = wres; return cnst; } -- 2.20.1