From d4d5b4f63a5760b2212166f539f906edda0bc4de Mon Sep 17 00:00:00 2001 From: Jack Veenstra Date: Tue, 28 Apr 2009 11:33:55 -0700 Subject: Fix a memory deallocation error that was crashing q2dm. Also fix a bunch of compile warnings by changing "char *" to "const char *". --- emulator/qtools/coverage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emulator/qtools/coverage.cpp') diff --git a/emulator/qtools/coverage.cpp b/emulator/qtools/coverage.cpp index fb1fe52..790f721 100644 --- a/emulator/qtools/coverage.cpp +++ b/emulator/qtools/coverage.cpp @@ -137,7 +137,7 @@ int main(int argc, char **argv) continue; if (strcmp(psym->name, ".plt") == 0) continue; - char *ksym = " "; + const char *ksym = " "; if (psym->region->flags & region_type::kIsKernelRegion) ksym = "k"; printf("%s %s %s\n", ksym, psym->name, psym->region->path); -- cgit v1.1