Skip to content

Commit

Permalink
Fix compilation issue in OSX and debug mode issue
Browse files Browse the repository at this point in the history
assertion in dtoa_milo is not fixed yet.
  • Loading branch information
miloyip committed Sep 7, 2014
1 parent 4bf6555 commit c39ebf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Empty file modified build/premake.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/doubleconvtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using namespace double_conversion;

void dtoa_doubleconv(double value, char* buffer) {
StringBuilder sb(buffer, 25);
StringBuilder sb(buffer, 26);
DoubleToStringConverter::EcmaScriptConverter().ToShortest(value, &sb);
}

Expand Down
1 change: 1 addition & 0 deletions src/milo/dtoa_milo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <assert.h>
#include <math.h>

#if defined(_MSC_VER)
#include "msinttypes/stdint.h"
Expand Down

0 comments on commit c39ebf9

Please sign in to comment.