aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-01 02:55:11 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-01 02:55:11 +1000
commitd1bbb893892c60bf5a5c6d8e6b1c88e40609b4b6 (patch)
tree8314de8cfece36d97fe0180f97cede24f22f03b7 /proc.c
parentbd0c1573df2a0865f03918e4e3027bbb9919af38 (diff)
Move over a few more objects to the new array_list functions
darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index bf6cbfdf..e622a607 100644
--- a/proc.c
+++ b/proc.c
@@ -1092,7 +1092,7 @@ void proc_sanity_check()
void proc_push_interactive( int value )
{
int old = is_interactive;
- al_push( interactive_stack, (void *)(long)is_interactive );
+ al_push_long( interactive_stack, (long)is_interactive );
is_interactive = value;
if( old != value )
signal_set_handlers();
@@ -1101,7 +1101,7 @@ void proc_push_interactive( int value )
void proc_pop_interactive()
{
int old = is_interactive;
- is_interactive= (int)(long)al_pop(interactive_stack);
+ is_interactive= (int)al_pop_long(interactive_stack);
if( is_interactive != old )
signal_set_handlers();
}