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