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

Unified Diff: net/disk_cache/blockfile/sparse_control.cc

Issue 1160203003: net: Remove the remaining use of GG_(U)INTn_C macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stdint.h Created 5 years, 7 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 | « net/disk_cache/blockfile/index_table_v3_unittest.cc ('k') | net/disk_cache/simple/simple_entry_format.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/sparse_control.cc
diff --git a/net/disk_cache/blockfile/sparse_control.cc b/net/disk_cache/blockfile/sparse_control.cc
index 926cf360f199b46dbfa84fedda4e34ee0a04bfd6..cd2997febb96f56fc583f02bcd6d4e123e4aae18 100644
--- a/net/disk_cache/blockfile/sparse_control.cc
+++ b/net/disk_cache/blockfile/sparse_control.cc
@@ -4,6 +4,8 @@
#include "net/disk_cache/blockfile/sparse_control.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/format_macros.h"
#include "base/logging.h"
@@ -253,7 +255,7 @@ int SparseControl::StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf,
// We only support up to 64 GB.
if (static_cast<uint64>(offset) + static_cast<unsigned int>(buf_len) >=
- GG_UINT64_C(0x1000000000)) {
+ UINT64_C(0x1000000000)) {
return net::ERR_CACHE_OPERATION_NOT_SUPPORTED;
}
« no previous file with comments | « net/disk_cache/blockfile/index_table_v3_unittest.cc ('k') | net/disk_cache/simple/simple_entry_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698