diff options
-rw-r--r-- | stdlib/rshift.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/rshift.c b/stdlib/rshift.c index d4c7f77..ab69dd7 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; |