Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Version 4.1.0.5 (cherry-pick)
Browse files Browse the repository at this point in the history
Merged 76ce4a9

[d8] Fix V8 external snapshot for Windows.

BUG=421063,439661
LOG=N
[email protected], [email protected]

Review URL: https://codereview.chromium.org/838383007

Cr-Commit-Position: refs/branch-heads/4.1@{#6}
Cr-Branched-From: 2e08d2a-refs/heads/candidates@{#25353}
  • Loading branch information
jeisinger committed Jan 13, 2015
1 parent e333d39 commit 9fcb3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/d8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ class StartupDataHandler {
const char* last_slash = strrchr(exec_path, '/');
if (last_slash) {
int after_slash = last_slash - exec_path + 1;
int name_length = strlen(name);
int name_length = static_cast<int>(strlen(name));
*buffer =
reinterpret_cast<char*>(calloc(after_slash + name_length + 1, 1));
strncpy(*buffer, exec_path, after_slash);
Expand Down
2 changes: 1 addition & 1 deletion src/version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define MAJOR_VERSION 4
#define MINOR_VERSION 1
#define BUILD_NUMBER 0
#define PATCH_LEVEL 4
#define PATCH_LEVEL 5
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
Expand Down

0 comments on commit 9fcb3ee

Please sign in to comment.