aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--go/bls/mcl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/bls/mcl.go b/go/bls/mcl.go
index d0deae4..58ccc37 100644
--- a/go/bls/mcl.go
+++ b/go/bls/mcl.go
@@ -36,9 +36,9 @@ func (x *Fr) Clear() {
}
// SetInt --
-func (x *Fr) SetInt(v int) {
+func (x *Fr) SetInt64(v int64) {
// #nosec
- C.mclBnFr_setInt(x.getPointer(), C.int(v))
+ C.mclBnFr_setInt(x.getPointer(), C.int64_t(v))
}
// SetString --