Changed pos to unsigned int to prevent warning from happening.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/587f143e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/587f143e Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/587f143e Branch: refs/heads/master Commit: 587f143e279ff586d90df31ea5e1c934cdde2e99 Parents: 5d5cfe4 Author: Emil Falk <[email protected]> Authored: Fri May 29 16:03:31 2015 +0200 Committer: Emil Falk <[email protected]> Committed: Fri May 29 16:03:31 2015 +0200 ---------------------------------------------------------------------- c_src/double-conversion/bignum.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/587f143e/c_src/double-conversion/bignum.cc ---------------------------------------------------------------------- diff --git a/c_src/double-conversion/bignum.cc b/c_src/double-conversion/bignum.cc index 747491a..3c88303 100644 --- a/c_src/double-conversion/bignum.cc +++ b/c_src/double-conversion/bignum.cc @@ -103,7 +103,7 @@ void Bignum::AssignDecimalString(Vector<const char> 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);
