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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue