diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-10 14:36:31 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-10 14:36:31 +0800 |
commit | 65562d873d72c279b4e93383f1e6d8dd2d63d769 (patch) | |
tree | b2f5db4e03ad9520bf79689734e02fec51316a4b | |
parent | a29506decb09b0c8df5acbdb06668ab233fdd085 (diff) | |
download | tangerine-mcl-65562d873d72c279b4e93383f1e6d8dd2d63d769.tar.gz tangerine-mcl-65562d873d72c279b4e93383f1e6d8dd2d63d769.tar.zst tangerine-mcl-65562d873d72c279b4e93383f1e6d8dd2d63d769.zip |
fix for macro mclSize
-rw-r--r-- | src/bn_c_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bn_c_impl.hpp b/src/bn_c_impl.hpp index 0acc88f..4cfb4a8 100644 --- a/src/bn_c_impl.hpp +++ b/src/bn_c_impl.hpp @@ -95,7 +95,7 @@ mclRetType deserialize(T *x, const void *buf, mclSize bufSize, const char *msg) { const size_t n = cast(x)->deserialize(buf, bufSize); #ifdef MCLBN_USE_NEW_DESERIALIZE_API - return mclSize(n); + return (mclSize)n; #else return n ? 0 : -1; #endif |