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

Unified Diff: components/nacl/loader/nacl_validation_query.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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/nacl/loader/nacl_validation_query.cc
diff --git a/components/nacl/loader/nacl_validation_query.cc b/components/nacl/loader/nacl_validation_query.cc
index 80d478f4594c39b2ee4057eb7d5e7b7772790ae6..034b8d6586331216d3f92a1dcc9d338532a26f04 100644
--- a/components/nacl/loader/nacl_validation_query.cc
+++ b/components/nacl/loader/nacl_validation_query.cc
@@ -4,6 +4,9 @@
#include "components/nacl/loader/nacl_validation_query.h"
+#include <stdint.h>
+#include <string.h>
+
#include "base/logging.h"
#include "components/nacl/loader/nacl_validation_db.h"
#include "crypto/nss_util.h"
@@ -102,7 +105,7 @@ static void* CreateQuery(void* handle) {
return static_cast<NaClValidationQueryContext*>(handle)->CreateQuery();
}
-static void AddData(void* query, const uint8* data, size_t length) {
+static void AddData(void* query, const uint8_t* data, size_t length) {
static_cast<NaClValidationQuery*>(query)->AddData(data, length);
}
« no previous file with comments | « components/nacl/loader/nacl_validation_query.h ('k') | components/nacl/loader/nacl_validation_query_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698