diff options
-rw-r--r-- | ffi/go/mcl/mcl.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ffi/go/mcl/mcl.go b/ffi/go/mcl/mcl.go index c2456b9..de9e5aa 100644 --- a/ffi/go/mcl/mcl.go +++ b/ffi/go/mcl/mcl.go @@ -47,10 +47,10 @@ func (x *Fr) Clear() { C.mclBnFr_clear(x.getPointer()) } -// SetInt -- -func (x *Fr) SetInt(v int) { +// SetInt64 -- +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 -- |