ソースを参照

Merge pull request #92 from emfa/master

Changed pos to unsigned int to prevent warning from happening.
pull/71/merge
Paul J. Davis 10年前
コミット
446e284bd5
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      c_src/double-conversion/bignum.cc

+ 1
- 1
c_src/double-conversion/bignum.cc ファイルの表示

@ -103,7 +103,7 @@ void Bignum::AssignDecimalString(Vector value) {
const int kMaxUint64DecimalDigits = 19;
Zero();
int length = value.length();
int pos = 0;
unsigned int pos = 0;
// Let's just say that each digit needs 4 bits.
while (length >= kMaxUint64DecimalDigits) {
uint64_t digits = ReadUInt64(value, pos, kMaxUint64DecimalDigits);

読み込み中…
キャンセル
保存