From a7142d435bdeb9c265b50cbb7ccfdc885eb540f2 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 9 Jun 2006 21:44:44 +0100 Subject: [PATCH] winedbg: Write-strings warnings fix. --- programs/winedbg/tgt_minidump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/winedbg/tgt_minidump.c b/programs/winedbg/tgt_minidump.c index f6cfa6355be..c1f0b9eed38 100644 --- a/programs/winedbg/tgt_minidump.c +++ b/programs/winedbg/tgt_minidump.c @@ -190,7 +190,8 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data) if (MiniDumpReadDumpStream(data->mapping, SystemInfoStream, &dir, &stream, &size)) { MINIDUMP_SYSTEM_INFO* msi = (MINIDUMP_SYSTEM_INFO*)stream; - char *str, tmp[128]; + const char *str; + char tmp[128]; dbg_printf("WineDbg starting on minidump on pid %lu\n", pid); switch (msi->ProcessorArchitecture)