diff options
-rw-r--r-- | misc/cgo/gmp/gmp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/gmp/gmp.go b/misc/cgo/gmp/gmp.go index 33c16de77..f7bbe9c51 100644 --- a/misc/cgo/gmp/gmp.go +++ b/misc/cgo/gmp/gmp.go @@ -190,7 +190,7 @@ func (z *Int) SetString(s string, base int) os.Error { if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 { return os.EINVAL } - return z + return nil } // String returns the decimal representation of z. |