Просмотр исходного кода

Changed pos to unsigned int to prevent warning from happening.

pull/92/head
Emil Falk 10 лет назад
Родитель
Сommit
587f143e27
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);

Загрузка…
Отмена
Сохранить