summaryrefslogtreecommitdiff
path: root/mpf/ui_div.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-05-18 12:56:45 +0200
committertege <tege@gmplib.org>2002-05-18 12:56:45 +0200
commit68529b60941ccfe93e2cb8bd96f4eb9cdc2656ed (patch)
treeae49d5751391b21206137b1859f8b2e152c3f343 /mpf/ui_div.c
parent2ae33627e11fea72a15ee23aa5e723d9907ac161 (diff)
downloadgmp-68529b60941ccfe93e2cb8bd96f4eb9cdc2656ed.tar.gz
Shut up compiler warning.
Diffstat (limited to 'mpf/ui_div.c')
-rw-r--r--mpf/ui_div.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpf/ui_div.c b/mpf/ui_div.c
index 7dc4f53cc..74cdf97db 100644
--- a/mpf/ui_div.c
+++ b/mpf/ui_div.c
@@ -93,7 +93,8 @@ mpf_ui_div (mpf_ptr r, unsigned long int u, mpf_srcptr v)
tp[tsize - 1] = dividend_low;
if (dividend_high != 0)
{
- if (GMP_NAIL_BITS != 0 && dividend_high > vp[vsize - 1])
+#if GMP_NAIL_BITS != 0
+ if (dividend_high > vp[vsize - 1])
{
tp[tsize - 2] = dividend_low;
tp[tsize - 1] = dividend_high & GMP_NUMB_MASK;
@@ -102,6 +103,7 @@ mpf_ui_div (mpf_ptr r, unsigned long int u, mpf_srcptr v)
rexp += 2;
}
else
+#endif
{
tp[tsize] = dividend_high;
tsize++;