aboutsummaryrefslogtreecommitdiff
path: root/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'world.c')
-rw-r--r--world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/world.c b/world.c
index 3ee369d..a84aac6 100644
--- a/world.c
+++ b/world.c
@@ -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;
}