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

Unified Diff: components/os_crypt/ie7_password_win.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
« no previous file with comments | « components/os_crypt/ie7_password_win.h ('k') | components/os_crypt/ie7_password_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt/ie7_password_win.cc
diff --git a/components/os_crypt/ie7_password_win.cc b/components/os_crypt/ie7_password_win.cc
index eebd57b37809cbb335092cf72d5de1ada7c521f1..1c31eb9a15be3af5e8bbf9ecc75c1c1c29906055 100644
--- a/components/os_crypt/ie7_password_win.cc
+++ b/components/os_crypt/ie7_password_win.cc
@@ -4,6 +4,9 @@
#include "components/os_crypt/ie7_password_win.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -75,9 +78,9 @@ bool GetUserPassFromData(const std::vector<unsigned char>& data,
if (information->header.fixed_header_size != sizeof(Header))
return false;
- const uint8* offset_to_data = &data[0] +
- information->pre_header.header_size +
- information->pre_header.pre_header_size;
+ const uint8_t* offset_to_data = &data[0] +
+ information->pre_header.header_size +
+ information->pre_header.pre_header_size;
for (int i = 0; i < entry_count / 2; ++i) {
« no previous file with comments | « components/os_crypt/ie7_password_win.h ('k') | components/os_crypt/ie7_password_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698