Commit 034fc473 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcrt: Write-strings warning fix.

parent 0ba64e58
......@@ -1022,6 +1022,7 @@ static BOOL symbol_demangle(struct parsed_symbol* sym)
{
BOOL ret = FALSE;
unsigned do_after = 0;
static CHAR dashed_null[] = "--null--";
/* FIXME seems wrong as name, as it demangles a simple data type */
if (sym->flags & UNDNAME_NO_ARGUMENTS)
......@@ -1135,7 +1136,7 @@ static BOOL symbol_demangle(struct parsed_symbol* sym)
{
case 1: case 2:
sym->stack.num = sym->stack.max = 1;
sym->stack.elts[0] = "--null--";
sym->stack.elts[0] = dashed_null;
break;
case 4:
sym->result = (char*)function_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment