diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-09-24 03:08:06 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-09-24 03:08:06 +0200 |
commit | 973200ff43ed68f38090b36cffdf81b814de1231 (patch) | |
tree | de0a190564fb38f9aea2056eacc715de5bff7c4f /randclr.c | |
parent | ef36392ddd7c5e7e24e6efdb3f78a24eeafce296 (diff) | |
download | gmp-973200ff43ed68f38090b36cffdf81b814de1231.tar.gz |
2002-09-24 Pedro Gimeno <pggimeno@wanadoo.es>
* gmp-impl.h: Remove type cast in RNG_FNPTR and RNG_STATE, to allow
them to be used as lvalues. All callers changed.
Diffstat (limited to 'randclr.c')
-rw-r--r-- | randclr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,5 +25,5 @@ MA 02111-1307, USA. */ void gmp_randclear (gmp_randstate_t rstate) { - (*RNG_FNPTR (rstate)->randclear_fn) (rstate); + (*((gmp_randfnptr_t *) RNG_FNPTR (rstate))->randclear_fn) (rstate); } |