Merge pull request #15 from davisp/fix-compiler-warning-gcc-5.1
Fix compiler warning on GCC 5.1.0
diff --git a/double-conversion/bignum.cc b/double-conversion/bignum.cc
index 89c0ab2..7c88ff7 100644
--- a/double-conversion/bignum.cc
+++ b/double-conversion/bignum.cc
@@ -104,7 +104,7 @@
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);