From d1bbb893892c60bf5a5c6d8e6b1c88e40609b4b6 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 1 Aug 2006 02:55:11 +1000 Subject: [PATCH] Move over a few more objects to the new array_list functions darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz --- expand.c | 4 ++-- fish_tests.c | 26 ++++++++++++-------------- highlight.c | 6 +++--- proc.c | 4 ++-- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/expand.c b/expand.c index 151850d81..966eb44c8 100644 --- a/expand.c +++ b/expand.c @@ -874,7 +874,7 @@ static int expand_variables( wchar_t *in, array_list_t *out, int last_idx ) is_ok = 0; break; } - al_push( var_idx_list, (void *)tmp ); + al_push_long( var_idx_list, tmp ); stop_pos = end-in; } } @@ -887,7 +887,7 @@ static int expand_variables( wchar_t *in, array_list_t *out, int last_idx ) int j; for( j=0; j