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

Unified Diff: net/base/io_buffer.h

Issue 12091071: Make net::IOBuffer 64-bit safe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | net/base/io_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/io_buffer.h
===================================================================
--- net/base/io_buffer.h (revision 179669)
+++ net/base/io_buffer.h (working copy)
@@ -115,7 +115,7 @@
public:
explicit StringIOBuffer(const std::string& s);
- int size() const { return string_data_.size(); }
+ int size() const { return static_cast<int>(string_data_.size()); }
Ryan Hamilton 2013/01/30 20:33:53 You're way more familiar with the 64 bit safe-ific
jschuh 2013/01/30 20:54:14 I *really* *really* wanted to, but it bleeds throu
private:
virtual ~StringIOBuffer();
« no previous file with comments | « no previous file | net/base/io_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698