diff options
Diffstat (limited to 'libguile/options.c')
-rw-r--r-- | libguile/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/options.c b/libguile/options.c index f051c1db9..5ac0a4323 100644 --- a/libguile/options.c +++ b/libguile/options.c @@ -186,7 +186,7 @@ scm_options (SCM arg, scm_option options[], int n, const char *s) goto cont; case SCM_OPTION_SCM: new_mode = SCM_CDR (new_mode); - flags[i] = SCM_CARW (new_mode); + flags[i] = SCM_CARBITS (new_mode); goto cont; } #ifndef SCM_RECKLESS @@ -201,8 +201,8 @@ scm_options (SCM arg, scm_option options[], int n, const char *s) // scm_option doesn't know if its a long or an SCM if (options[i].type == SCM_OPTION_SCM) SCM_SETCDR (protected_objects, - scm_cons (SCM_ASSCM(flags[i]), - scm_delq1_x (SCM_ASSCM(options[i].val), + scm_cons (SCM_SCM(flags[i]), + scm_delq1_x (SCM_SCM(options[i].val), SCM_CDR (protected_objects)))); options[i].val = flags[i]; } @@ -224,7 +224,7 @@ scm_init_opts (SCM (*func) (SCM), scm_option options[], int n) (options[i].doc)); if (options[i].type == SCM_OPTION_SCM) SCM_SETCDR (protected_objects, - scm_cons (SCM_ASSCM(options[i].val), SCM_CDR (protected_objects))); + scm_cons (SCM_SCM(options[i].val), SCM_CDR (protected_objects))); } func (SCM_UNDEFINED); } |