Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4967)

Unified Diff: breakpad/linux/minidump_writer.cc

Issue 155126: Fix breakpad compile on Fedora 11. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad/linux/minidump_writer.cc
===================================================================
--- breakpad/linux/minidump_writer.cc (revision 19991)
+++ breakpad/linux/minidump_writer.cc (working copy)
@@ -669,7 +669,7 @@
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 @@
// 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698