From 78874695244cf67e0adf4e4c701e9382fc6f0bf9 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sun, 17 Jun 2018 00:12:55 +0200 Subject: Small fixes * Squelch printf format warning. * Fix Linux build by symlinking buildtools to v8/buildtools. * Lint comment in BUILD.gn. --- deno2/file_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deno2/file_util.cc') 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(data_.size())); file_ << buffer; snprintf(buffer, sizeof(buffer), "static const v8::StartupData %s_blob =\n", name_); -- cgit v1.2.3