From c66a90d354edf9c9c4a3e0859cf6d653b116ef77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 30 Apr 1998 01:11:10 +0200 Subject: [PATCH] Fixed warning. Rev: src/modules/Gmp/mpz_glue.c:1.34 --- src/modules/Gmp/mpz_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Gmp/mpz_glue.c b/src/modules/Gmp/mpz_glue.c index 94331c786c..79393da09a 100644 --- a/src/modules/Gmp/mpz_glue.c +++ b/src/modules/Gmp/mpz_glue.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: mpz_glue.c,v 1.33 1998/04/24 00:59:15 hubbe Exp $"); +RCSID("$Id: mpz_glue.c,v 1.34 1998/04/29 23:11:10 grubba Exp $"); #include "gmp_machine.h" #if !defined(HAVE_LIBGMP) @@ -202,7 +202,7 @@ static struct pike_string *low_get_digits(MP_INT *mpz, int base) s->str[0] = 0; } else { mp_limb_t *src = mpz->_mp_d; - unsigned char *dst = s->str+s->len; + unsigned char *dst = (unsigned char *)s->str+s->len; while (len > 0) { -- GitLab