summaryrefslogtreecommitdiff
path: root/stdlib/rshift.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/rshift.c')
-rw-r--r--stdlib/rshift.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/rshift.c b/stdlib/rshift.c
index d4c7f77769..ab69dd7915 100644
--- a/stdlib/rshift.c
+++ b/stdlib/rshift.c
@@ -42,7 +42,10 @@ mpn_rshift (register mp_ptr wp,
register mp_size_t i;
mp_limb_t retval;
- assert (usize != 0 && cnt != 0);
+#ifdef DEBUG
+ if (usize == 0 || cnt == 0)
+ abort ();
+#endif
sh_1 = cnt;