Skip to content
Snippets Groups Projects
Commit 25c9c05a authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Update stack.c

parent cf9ddf4c
Branches master
No related tags found
No related merge requests found
...@@ -42,6 +42,6 @@ void stack_clone(stack s, stack *clone) { ...@@ -42,6 +42,6 @@ void stack_clone(stack s, stack *clone) {
int get_length(stack s) int get_length(stack s)
{ {
return s->top + 1; return s.top + 1;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment