aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glob.c')
-rw-r--r--src/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glob.c b/src/glob.c
index c1efe47..830471e 100644
--- a/src/glob.c
+++ b/src/glob.c
@@ -486,7 +486,7 @@ teco_state_glob_filename_done(teco_machine_main_t *ctx, teco_string_t str, GErro
teco_int_t teco_test_mode;
- if (!teco_expressions_pop_num_calc(&teco_test_mode, 0, error))
+ if (!teco_expressions_pop_int_calc(&teco_test_mode, 0, error))
return NULL;
switch (teco_test_mode) {
/*
@@ -604,7 +604,7 @@ teco_state_glob_filename_done(teco_machine_main_t *ctx, teco_string_t str, GErro
undo__teco_interface_ssm(SCI_DELETERANGE, pos, added_len);
}
- if (!glob_reg->vtable->set_integer(glob_reg, teco_bool(matching), error))
+ if (!teco_qreg_set_integer(glob_reg, teco_bool(matching), error))
return NULL;
return &teco_state_start;