Procházet zdrojové kódy

Merge pull request #92 from emfa/master

Changed pos to unsigned int to prevent warning from happening.
pull/71/merge
Paul J. Davis před 10 roky
rodič
revize
446e284bd5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      c_src/double-conversion/bignum.cc

+ 1
- 1
c_src/double-conversion/bignum.cc Zobrazit soubor

@ -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);

Načítá se…
Zrušit
Uložit