mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
Pacify buggy old GCC with a cast
* src/bignum.h (bignum_integer): Pacify GCC 4.8.5. Problem reported by Andreas Schwab in: https://lists.gnu.org/r/emacs-devel/2020-05/msg00781.html
This commit is contained in:
parent
153241d664
commit
02f5a419fd
@ -108,7 +108,8 @@ bignum_integer (mpz_t *tmp, Lisp_Object i)
|
||||
if (FIXNUMP (i))
|
||||
{
|
||||
mpz_set_intmax (*tmp, XFIXNUM (i));
|
||||
return tmp;
|
||||
/* The unnecessary cast pacifies a buggy GCC 4.8.5. */
|
||||
return (mpz_t const *) tmp;
|
||||
}
|
||||
return xbignum_val (i);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user