diff options
author | axel <axel@liljencrantz.se> | 2006-08-01 02:55:11 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-08-01 02:55:11 +1000 |
commit | d1bbb893892c60bf5a5c6d8e6b1c88e40609b4b6 (patch) | |
tree | 8314de8cfece36d97fe0180f97cede24f22f03b7 /expand.c | |
parent | bd0c1573df2a0865f03918e4e3027bbb9919af38 (diff) |
Move over a few more objects to the new array_list functions
darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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<al_get_count( var_idx_list ); j++) { - long tmp = (long)al_get( var_idx_list, j ); + long tmp = al_get_long( var_idx_list, j ); if( tmp < 0 ) { tmp = al_get_count( &var_item_list)+tmp+1; |