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

Unified Diff: components/ownership/owner_settings_service.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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: components/ownership/owner_settings_service.cc
diff --git a/components/ownership/owner_settings_service.cc b/components/ownership/owner_settings_service.cc
index 42ccfe4f20d1bf9a6582a573502d28f8c2d0ccf5..b15609e70452c7fef2cd1792ce20441e7a40ed49 100644
--- a/components/ownership/owner_settings_service.cc
+++ b/components/ownership/owner_settings_service.cc
@@ -6,8 +6,8 @@
#include <cryptohi.h>
#include <keyhi.h>
+#include <stdint.h>
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/location.h"
@@ -50,7 +50,7 @@ scoped_ptr<em::PolicyFetchResponse> AssembleAndSignPolicy(
SECItem signature_item;
if (SGN_Begin(sign_context.get()) != SECSuccess ||
SGN_Update(sign_context.get(),
- reinterpret_cast<const uint8*>(
+ reinterpret_cast<const uint8_t*>(
policy_response->policy_data().c_str()),
policy_response->policy_data().size()) != SECSuccess ||
SGN_End(sign_context.get(), &signature_item) != SECSuccess) {
« no previous file with comments | « components/ownership/owner_key_util_impl_unittest.cc ('k') | components/packed_ct_ev_whitelist/bit_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698