summaryrefslogtreecommitdiff
path: root/mpz/mul_i.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2012-02-11 12:51:21 +0100
committerTorbjorn Granlund <tege@gmplib.org>2012-02-11 12:51:21 +0100
commita4cdc3d613b1571b7b6e6229dc79fedb0dbfa99d (patch)
tree490ceb211d0417d0c0db3237e16a143e8e1d9809 /mpz/mul_i.h
parent742c01ed5a51098862b9515c373022e71c80a412 (diff)
downloadgmp-a4cdc3d613b1571b7b6e6229dc79fedb0dbfa99d.tar.gz
(ABS_CAST): New macro.
Diffstat (limited to 'mpz/mul_i.h')
-rw-r--r--mpz/mul_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/mul_i.h b/mpz/mul_i.h
index d86196049..2de3fe0b5 100644
--- a/mpz/mul_i.h
+++ b/mpz/mul_i.h
@@ -26,7 +26,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#ifdef OPERATION_mul_si
#define FUNCTION mpz_mul_si
#define MULTIPLICAND_UNSIGNED
-#define MULTIPLICAND_ABS(x) ((unsigned long) ABS(x))
+#define MULTIPLICAND_ABS(x) ABS_CAST(unsigned long, (x))
#endif
#ifdef OPERATION_mul_ui