From b25a14829848c54892dbc2a76b82c53de722baa8 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Fri, 20 Nov 2009 17:14:40 +0000 Subject: [PATCH] More warnings reduction. --- ede-bug-tools/ede-bug-report/icons/bug.xpm | 2 +- ede-bug-tools/ede-crasher/GdbOutput.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ede-bug-tools/ede-bug-report/icons/bug.xpm b/ede-bug-tools/ede-bug-report/icons/bug.xpm index 58b6eaa..70345a3 100644 --- a/ede-bug-tools/ede-bug-report/icons/bug.xpm +++ b/ede-bug-tools/ede-bug-report/icons/bug.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * bug_xpm[] = { +static const char *bug_xpm[] = { "22 22 191 2", " c None", ". c #4C2C16", diff --git a/ede-bug-tools/ede-crasher/GdbOutput.cpp b/ede-bug-tools/ede-crasher/GdbOutput.cpp index 8a4c883..ea3d5d0 100644 --- a/ede-bug-tools/ede-crasher/GdbOutput.cpp +++ b/ede-bug-tools/ede-crasher/GdbOutput.cpp @@ -91,9 +91,9 @@ bool gdb_output_generate(const char *path, TempFile &t) { char* argv[8]; argv[0] = (char*)gdb_path.c_str(); - argv[1] = "--quiet"; - argv[2] = "--batch"; - argv[3] = "-x"; + argv[1] = (char*)"--quiet"; + argv[2] = (char*)"--batch"; + argv[3] = (char*)"-x"; argv[4] = (char*)scr.name(); argv[5] = (char*)path; argv[6] = (char*)CORE_FILE;