aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/big_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/bigint/big_io.cpp')
-rw-r--r--src/math/bigint/big_io.cpp2
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,