Mercurial > hg > xemacs-beta
diff src/number.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 | 4d7032d36975 |
children |
line wrap: on
line diff
--- a/src/number.h Sat Dec 12 21:49:31 2015 +0000 +++ b/src/number.h Sun Dec 13 13:22:58 2015 +0000 @@ -221,14 +221,14 @@ #define RATIO_ARITH_RETURN(r,op) do \ { \ - Lisp_Object retval = make_ratio (0L, 1UL); \ + Lisp_Object retval = make_ratio (E0, UE1); \ ratio_##op (XRATIO_DATA (retval), XRATIO_DATA (r)); \ return Fcanonicalize_number (retval); \ } while (0) #define RATIO_ARITH_RETURN1(r,op,arg) do \ { \ - Lisp_Object retval = make_ratio (0L, 1UL); \ + Lisp_Object retval = make_ratio (E0, UE1); \ ratio_##op (XRATIO_DATA (retval), XRATIO_DATA (r), arg); \ return Fcanonicalize_number (retval); \ } while (0)