diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-28 13:36:36 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-28 13:36:36 -0400 |
commit | f059b5da4cca2ab4d374a1f3bca8499a5d399032 (patch) | |
tree | fb6b6044b478b068ef743502cd4cc72c0806984e | |
parent | b9dc26454d9ab57a6bbd36762fae57783de908ac (diff) |
calloc call backwards
-rw-r--r-- | strbst.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |