diff options
author | lloyd <[email protected]> | 2010-10-12 16:19:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 16:19:56 +0000 |
commit | 4a6fd8c70d40f88c8b51127bfa055b66b18e0f7a (patch) | |
tree | d8c5697f8de1fff74c5b813fd83c08d310fa8ac0 /src/math/bigint/big_io.cpp | |
parent | c46a5e8d3dd8f07a92fc90027e6f7f70b989ea47 (diff) |
Use size_t in all of math, remove to_u32bit
Diffstat (limited to 'src/math/bigint/big_io.cpp')
-rw-r--r-- | src/math/bigint/big_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/bigint/big_io.cpp b/src/math/bigint/big_io.cpp index f3e7fb861..70e4a464a 100644 --- a/src/math/bigint/big_io.cpp +++ b/src/math/bigint/big_io.cpp @@ -28,7 +28,7 @@ std::ostream& operator<<(std::ostream& stream, const BigInt& n) if(n < 0) stream.write("-", 1); SecureVector<byte> buffer = BigInt::encode(n, base); - u32bit skip = 0; + size_t skip = 0; while(buffer[skip] == '0' && skip < buffer.size()) ++skip; stream.write(reinterpret_cast<const char*>(&buffer[0]) + skip, |