aboutsummaryrefslogtreecommitdiffstats
path: root/mtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtable.c')
-rw-r--r--mtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtable.c b/mtable.c
index 7d705e8..0f81a27 100644
--- a/mtable.c
+++ b/mtable.c
@@ -12,7 +12,7 @@ mt_table* mt_create()
printf("Cannot allocate mem for mt_table\n");
return NULL;
}
- memset(mt,0,sizeof(mt));
+ memset(mt,0,sizeof(mt_table));
mt->table = darr_create( sizeof(mt_range), 100 );
if (mt->table == NULL)