mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Call lint in travis (and fix long long issue)
This commit is contained in:
parent
235e549035
commit
6d288b63cd
2 changed files with 5 additions and 2 deletions
|
@ -49,3 +49,4 @@ script:
|
|||
- $BUILD_PATH/mock_runtime_test
|
||||
- $BUILD_PATH/mock_main foo bar
|
||||
- $BUILD_PATH/deno meow
|
||||
- ./tools/lint.sh
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <fstream>
|
||||
#include <iterator>
|
||||
|
@ -77,8 +78,9 @@ class StartupDataCppWriter {
|
|||
file_ << buffer;
|
||||
WriteBinaryContentsAsCArray();
|
||||
file_ << "};\n";
|
||||
snprintf(buffer, sizeof(buffer), "static const int %s_blob_size = %llu;\n",
|
||||
name_, static_cast<unsigned long long>(data_.size()));
|
||||
snprintf(buffer, sizeof(buffer),
|
||||
"static const int %s_blob_size = %" PRId64 ";\n", name_,
|
||||
static_cast<uint64_t>(data_.size()));
|
||||
file_ << buffer;
|
||||
snprintf(buffer, sizeof(buffer), "static v8::StartupData %s_blob =\n",
|
||||
name_);
|
||||
|
|
Loading…
Reference in a new issue