Mercurial > hg > xemacs-beta
diff src/number-gmp.h @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | a2912073be85 |
children |
line wrap: on
line diff
--- a/src/number-gmp.h Sat Dec 12 21:49:31 2015 +0000 +++ b/src/number-gmp.h Sun Dec 13 13:22:58 2015 +0000 @@ -165,8 +165,8 @@ /***** Ratio: converting assignments *****/ #define ratio_set(r1,r2) mpq_set (r1, r2) #define ratio_set_string(r,s,base) mpq_set_str (r, s, base) -#define ratio_set_long(r,l) mpq_set_si (r, l, 1UL) -#define ratio_set_ulong(r,l) mpq_set_ui (r, l, 1UL) +#define ratio_set_long(r,l) mpq_set_si (r, l, UE1) +#define ratio_set_ulong(r,l) mpq_set_ui (r, l, UE1) #define ratio_set_double(r,f) mpq_set_d (r, f) #define ratio_set_bignum(r,b) mpq_set_z (r, b) #define ratio_set_bigfloat(r,f) mpq_set_f (r, f)