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

Unified Diff: net/cert/ct_log_response_parser.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months 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: net/cert/ct_log_response_parser.cc
diff --git a/net/cert/ct_log_response_parser.cc b/net/cert/ct_log_response_parser.cc
index f7cc25fe654cfc0a03b1ca8fc63fca39600e6cf6..5a2edacad55498d0e654845b1267d878d5bf52c1 100644
--- a/net/cert/ct_log_response_parser.cc
+++ b/net/cert/ct_log_response_parser.cc
@@ -126,9 +126,8 @@ bool FillSignedTreeHead(const base::StringPiece& json_signed_tree_head,
signed_tree_head->version = SignedTreeHead::V1;
signed_tree_head->tree_size = parsed_sth.tree_size;
signed_tree_head->timestamp =
- base::Time::UnixEpoch() +
- base::TimeDelta::FromMilliseconds(
- static_cast<int64>(parsed_sth.timestamp));
+ base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(
+ static_cast<int64_t>(parsed_sth.timestamp));
signed_tree_head->signature = parsed_sth.signature;
memcpy(signed_tree_head->sha256_root_hash,
parsed_sth.sha256_root_hash.c_str(),

Powered by Google App Engine
This is Rietveld 408576698