diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-06-17 00:12:55 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-06-17 12:43:04 +0200 |
commit | 78874695244cf67e0adf4e4c701e9382fc6f0bf9 (patch) | |
tree | 10c9d10961b898a081287a9670351efc825fa52f /deno2/file_util.cc | |
parent | a77af25480ddab3c0c058c33c417d7b7791dcf74 (diff) |
Small fixes
* Squelch printf format warning.
* Fix Linux build by symlinking buildtools to v8/buildtools.
* Lint comment in BUILD.gn.
Diffstat (limited to 'deno2/file_util.cc')
-rw-r--r-- | deno2/file_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deno2/file_util.cc b/deno2/file_util.cc index ece14e9b1..c78d3e227 100644 --- a/deno2/file_util.cc +++ b/deno2/file_util.cc @@ -75,8 +75,8 @@ class StartupDataCppWriter { file_ << buffer; WriteBinaryContentsAsCArray(); file_ << "};\n"; - snprintf(buffer, sizeof(buffer), "static const int %s_blob_size = %ld;\n", - name_, data_.size()); + snprintf(buffer, sizeof(buffer), "static const int %s_blob_size = %llu;\n", + name_, static_cast<unsigned long long>(data_.size())); file_ << buffer; snprintf(buffer, sizeof(buffer), "static const v8::StartupData %s_blob =\n", name_); |