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

Unified Diff: base/i18n/number_formatting.cc

Issue 1542323002: Switch to standard integer types in base/i18n/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: header Created 5 years 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 | « base/i18n/number_formatting.h ('k') | base/i18n/number_formatting_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/number_formatting.cc
diff --git a/base/i18n/number_formatting.cc b/base/i18n/number_formatting.cc
index 47aa14cab23bc75fa42d8e9b00d85a4af361649d..920ba96b5732c9811e7fcb356d7f488d5777ca7a 100644
--- a/base/i18n/number_formatting.cc
+++ b/base/i18n/number_formatting.cc
@@ -4,6 +4,8 @@
#include "base/i18n/number_formatting.h"
+#include <stddef.h>
+
#include "base/format_macros.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
@@ -45,7 +47,7 @@ LazyInstance<NumberFormatWrapper> g_number_format_float =
} // namespace
-string16 FormatNumber(int64 number) {
+string16 FormatNumber(int64_t number) {
icu::NumberFormat* number_format =
g_number_format_int.Get().number_format.get();
« no previous file with comments | « base/i18n/number_formatting.h ('k') | base/i18n/number_formatting_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698