From 109e7455a8d8b0fb06ae48e6a1eb7cbebae45683 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 1 Aug 2006 02:23:39 +1000 Subject: [PATCH] Use the new array_list functions in builtin.c darcs-hash:20060731162339-ac50b-e8a6bd2c327b8fa5527b739fba544994e1a809e3.gz --- builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin.c b/builtin.c index 7bc08fb66..b83a272a3 100644 --- a/builtin.c +++ b/builtin.c @@ -3126,7 +3126,7 @@ void builtin_push_io( int in ) { if( builtin_stdin != -1 ) { - al_push( &io_stack, (void *)(long)builtin_stdin ); + al_push_long( &io_stack, (long)builtin_stdin ); al_push( &io_stack, sb_out ); al_push( &io_stack, sb_err ); } @@ -3149,7 +3149,7 @@ void builtin_pop_io() { sb_err = (string_buffer_t *)al_pop( &io_stack ); sb_out = (string_buffer_t *)al_pop( &io_stack ); - builtin_stdin = (int)(long)al_pop( &io_stack ); + builtin_stdin = (int)al_pop_long( &io_stack ); } else {