diff --git a/INSTALL b/INSTALL index d115088..9499ade 100644 --- a/INSTALL +++ b/INSTALL @@ -21,5 +21,5 @@ Debian, Ubuntu etc.: # the command lines as: git clone https://github.com/happyfish100/libfastcommon.git - cd libfastcommon; git checkout V1.0.86 + cd libfastcommon; git checkout V1.0.87 ./make.sh clean && ./make.sh && sudo ./make.sh install diff --git a/src/shared_func.c b/src/shared_func.c index 8cbf917..0f3ccac 100644 --- a/src/shared_func.c +++ b/src/shared_func.c @@ -3283,6 +3283,7 @@ static int format_bytes_string(const int64_t input_bytes, } p = buff + fc_itoa(n, buff); } + return p - buff; }