diff options
author | l.gombos@samsung.com <l.gombos@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 14:29:22 +0000 |
---|---|---|
committer | l.gombos@samsung.com <l.gombos@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 14:29:22 +0000 |
commit | 82d555ba232913a0a92e30901b61e3624f28bf87 (patch) | |
tree | ddafced2332efe87fa224f9ce279c46992a6bad3 /google_apis | |
parent | ef7356275f7350c56247375fb9b637050c417ac3 (diff) | |
download | chromium_src-82d555ba232913a0a92e30901b61e3624f28bf87.zip chromium_src-82d555ba232913a0a92e30901b61e3624f28bf87.tar.gz chromium_src-82d555ba232913a0a92e30901b61e3624f28bf87.tar.bz2 |
Fix some warnings on gcc 4.7 on Linux.
Review URL: https://codereview.chromium.org/51453003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gcm/engine/connection_handler_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/gcm/engine/connection_handler_unittest.cc b/google_apis/gcm/engine/connection_handler_unittest.cc index 19deaf2..d46c068 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()); |