aboutsummaryrefslogtreecommitdiff
path: root/stack2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack2.c')
-rw-r--r--stack2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack2.c b/stack2.c
index b4b8afd..aa5d6ed 100644
--- a/stack2.c
+++ b/stack2.c
@@ -64,7 +64,7 @@ stack_pop(struct stack *stack, T *data)
64 if ( stack->p != 0 ) { 64 if ( stack->p != 0 ) {
65 --stack->p; 65 --stack->p;
66 66
67 if ( data != NULL ) { 67 if ( data ) {
68 *data = stack->array[stack->p]; 68 *data = stack->array[stack->p];
69 } 69 }
70 return true; 70 return true;