From 0f8e24063a7f4832e2bfcf59a1915c4ec5b299fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 20 May 2003 10:56:13 +0200 Subject: [PATCH] Type fix... Rev: src/modules/Gmp/my_gmp.h:1.23 --- src/modules/Gmp/my_gmp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Gmp/my_gmp.h b/src/modules/Gmp/my_gmp.h index de2c4851cd..df815b61ea 100644 --- a/src/modules/Gmp/my_gmp.h +++ b/src/modules/Gmp/my_gmp.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: my_gmp.h,v 1.22 2003/05/19 19:41:02 mast Exp $ +|| $Id: my_gmp.h,v 1.23 2003/05/20 08:56:13 grubba Exp $ */ /* @@ -84,7 +84,7 @@ static inline mp_limb_t MPZ_GETLIMBN (mpz_srcptr gmp_z, mp_size_t gmp_n) * -0xffffffff80000000 if the limb size is larger than the long size)... */ #define PIKE_MPZ_SET_SI(MPZ_VAL, VALUE) do { \ - mpz_t mpz_ = (MPZ_VAL); \ + MP_INT *mpz_ = (MPZ_VAL); \ long val_ = (VALUE); \ if (val_ < 0) { \ mpz_set_ui(mpz_, (unsigned long) -val_); \ -- GitLab