summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--breakpad/linux/minidump_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/breakpad/linux/minidump_writer.cc b/breakpad/linux/minidump_writer.cc
index 0eb429c..a3aabc9 100644
--- a/breakpad/linux/minidump_writer.cc
+++ b/breakpad/linux/minidump_writer.cc
@@ -669,7 +669,7 @@ class MinidumpWriter {
if (entry->found)
goto popline;
if (!strncmp(line, entry->info_name, strlen(entry->info_name))) {
- char* value = strchr(line, ':');
+ const char* value = strchr(line, ':');
if (!value)
goto popline;
@@ -693,7 +693,7 @@ class MinidumpWriter {
// special case for vendor_id
if (!strncmp(line, vendor_id_name, vendor_id_name_length)) {
- char* value = strchr(line, ':');
+ const char* value = strchr(line, ':');
if (!value)
goto popline;