X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/894a712b285fe5ba53a47965f4f272595fc023c4..2500356c67755723d802538e8938b30019f64163:/libguile/numbers.c diff --git a/libguile/numbers.c b/libguile/numbers.c index 84df29be9..6d3e808ce 100644 --- a/libguile/numbers.c +++ b/libguile/numbers.c @@ -1319,7 +1319,7 @@ scm_mkbig (scm_sizet nlen, int sign) /* Cast to long int to avoid signed/unsigned comparison warnings. */ if ((( ((long int) nlen) << SCM_BIGSIZEFIELD) >> SCM_BIGSIZEFIELD) != (long int) nlen) - scm_wta (SCM_MAKINUM (nlen), (char *) SCM_NALLOC, s_bignum); + scm_memory_error (s_bignum); SCM_NEWCELL (v); SCM_DEFER_INTS; @@ -1356,7 +1356,7 @@ scm_adjbig (SCM b, scm_sizet nlen) { scm_sizet nsiz = nlen; if (((nsiz << SCM_BIGSIZEFIELD) >> SCM_BIGSIZEFIELD) != nlen) - scm_wta (scm_ulong2num (nsiz), (char *) SCM_NALLOC, s_adjbig); + scm_memory_error (s_adjbig); SCM_DEFER_INTS; { @@ -1464,7 +1464,7 @@ scm_long_long2big (long_long n) } return ans; } -#endif +#endif /* HAVE_LONG_LONGS */ SCM @@ -4170,7 +4170,7 @@ scm_long_long2num (long_long sl) } } -#endif +#endif /* HAVE_LONG_LONGS */ SCM @@ -4289,7 +4289,7 @@ scm_num2long_long (SCM num, char *pos, const char *s_caller) } } -#endif +#endif /* HAVE_LONG_LONGS */ unsigned long