diff options
-rw-r--r-- | world.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ #include "error.h" void init_world(World* world) { - int i, s = sizeof world; + int i, s = sizeof *world; for (i = 0; i < s; i++) { ((char*)world)[i] = 0; } |