From 628ccf948cdfef3ac93a5d8f9b2ec382b9846382 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 15 Nov 2022 00:30:30 +0100 Subject: [PATCH] fix typo --- src/plateau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plateau.c b/src/plateau.c index be645f2..cb45f47 100644 --- a/src/plateau.c +++ b/src/plateau.c @@ -1,7 +1,7 @@ #include "../includes/plateau.h" Table *generate_table(GLuint width, GLuint height, Pos origin, Uint32 color) { - Table *table = malloc(sizeof(Table *)); + Table *table = malloc(sizeof(Table)); assert(table != NULL); table->width = width;