diff --git a/include/fc/io/varint.hpp b/include/fc/io/varint.hpp index ad4ac21..3536d4e 100644 --- a/include/fc/io/varint.hpp +++ b/include/fc/io/varint.hpp @@ -33,7 +33,7 @@ struct unsigned_int { * Uses the google protobuf algorithm for seralizing signed numbers */ struct signed_int { - signed_int( int64_t v = 0 ):value(v){} + signed_int( int32_t v = 0 ):value(v){} operator int32_t()const { return value; } template signed_int& operator=( const T& v ) { value = v; return *this; }