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

Unified Diff: google_apis/gcm/engine/connection_handler_unittest.cc

Issue 51453003: Fix some warnings on gcc 4.7 on Linux. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 2 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 | « chrome/browser/devtools/devtools_adb_bridge_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/connection_handler_unittest.cc
diff --git a/google_apis/gcm/engine/connection_handler_unittest.cc b/google_apis/gcm/engine/connection_handler_unittest.cc
index 19deaf2ff4931ecfb8a9588adfcf6443575ddfd7..d46c068c1650e744eb33475bf9b50064413423f8 100644
--- a/google_apis/gcm/engine/connection_handler_unittest.cc
+++ b/google_apis/gcm/engine/connection_handler_unittest.cc
@@ -51,7 +51,7 @@ std::string EncodePacket(uint8 tag, const std::string& proto) {
google::protobuf::io::StringOutputStream string_output_stream(&result);
google::protobuf::io::CodedOutputStream coded_output_stream(
&string_output_stream);
- const char tag_byte[1] = {tag};
+ const unsigned char tag_byte[1] = {tag};
coded_output_stream.WriteRaw(tag_byte, 1);
coded_output_stream.WriteVarint32(proto.size());
coded_output_stream.WriteRaw(proto.c_str(), proto.size());
« no previous file with comments | « chrome/browser/devtools/devtools_adb_bridge_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698