aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strbst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strbst.c b/strbst.c
index 59d637e..d304605 100644
--- a/strbst.c
+++ b/strbst.c
@@ -14,7 +14,7 @@ int max(int a, int b) {
typedef char height;
strbst* newbst(void) {
- return calloc(sizeof(strbst),1);
+ return calloc(1,sizeof(strbst));
}
static strbstnode* newbstnode(char* ind, void* data) {