1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

fix type errors

* libguile/numbers.c (scm_logand): Fix a type error (comparing a SCM
  against an int, when we really wanted to compare the unpacked
  fixnum).

* libguile/ports.c (scm_i_set_conversion_strategy_x): Check
  scm_conversion_strategy_init, not scm_conversion_strategy.

* libguile/read.c (recsexpr): Fix loops to avoid strange test of SCM
  values.
This commit is contained in:
Andy Wingo 2011-05-13 10:32:46 +02:00
parent 210c0325d3
commit 2e16a342f2
3 changed files with 5 additions and 5 deletions

View file

@ -4112,7 +4112,7 @@ SCM scm_logand (SCM n1, SCM n2)
else if SCM_BIGP (n2)
{
intbig:
if (n1 == 0)
if (nn1 == 0)
return SCM_INUM0;
{
SCM result_z = scm_i_mkbig ();