aboutsummaryrefslogtreecommitdiffstats
path: root/src/bn_c_impl.hpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-09 05:58:44 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-09 05:58:44 +0800
commitdbc7fe35ee348d175c68a3050e7707a8fbcb924a (patch)
tree5de28d29f5d39f5805c6ac53425e58ee6eb08daa /src/bn_c_impl.hpp
parent91ed22cd73d7743523f1ecb612eaad4f68cc8717 (diff)
downloadtangerine-mcl-dbc7fe35ee348d175c68a3050e7707a8fbcb924a.tar.gz
tangerine-mcl-dbc7fe35ee348d175c68a3050e7707a8fbcb924a.tar.zst
tangerine-mcl-dbc7fe35ee348d175c68a3050e7707a8fbcb924a.zip
setInt accepts int64_t
Diffstat (limited to 'src/bn_c_impl.hpp')
-rw-r--r--src/bn_c_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bn_c_impl.hpp b/src/bn_c_impl.hpp
index 4873a5a..8e9777b 100644
--- a/src/bn_c_impl.hpp
+++ b/src/bn_c_impl.hpp
@@ -171,7 +171,7 @@ void mclBnFr_clear(mclBnFr *x)
}
// set x to y
-void mclBnFr_setInt(mclBnFr *y, int x)
+void mclBnFr_setInt(mclBnFr *y, int64_t x)
{
*cast(y) = x;
}