diff options
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ typedef struct { node *map_local_node(map *m, int32_t x, int32_t y) { - if (x < 0 || y < 0 || x >= m->width || y >= m->height) + if (x < 0 || y < 0 || (uint32_t) x >= m->width || (uint32_t) y >= m->height) return NULL; node *n = &m->nodes[x*m->width+y]; |