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

Unified Diff: content/renderer/renderer_main_platform_delegate_mac.mm

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/renderer/renderer_main_platform_delegate_mac.mm
diff --git a/content/renderer/renderer_main_platform_delegate_mac.mm b/content/renderer/renderer_main_platform_delegate_mac.mm
index 6c7ecd884009842f457d36a25fec80d1a08293de..ca61a072cc801681a7c495afba505a96ec290e7f 100644
--- a/content/renderer/renderer_main_platform_delegate_mac.mm
+++ b/content/renderer/renderer_main_platform_delegate_mac.mm
@@ -7,6 +7,7 @@
#include <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
#include <objc/runtime.h>
+#include <stdint.h>
#include "base/command_line.h"
#include "base/logging.h"
@@ -71,11 +72,11 @@ void DisconnectCFNotificationCenter() {
std::string port_address_std_string =
base::SysCFStringRefToUTF8(port_address_string);
#if __LP64__
- uint64 port_address = 0;
+ uint64_t port_address = 0;
if (!base::HexStringToUInt64(port_address_std_string, &port_address))
continue;
#else
- uint32 port_address = 0;
+ uint32_t port_address = 0;
if (!base::HexStringToUInt(port_address_std_string, &port_address))
continue;
#endif
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_android.cc ('k') | content/renderer/renderer_webcolorchooser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698