Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Fixed parens in map_init() macro
Browse files Browse the repository at this point in the history
  • Loading branch information
rxi committed Sep 13, 2014
1 parent 3b8b1b4 commit 2dd4ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct {


#define map_init(m)\
memset(m, 0, sizeof(*m))
memset(m, 0, sizeof(*(m)))


#define map_deinit(m)\
Expand Down

0 comments on commit 2dd4ac4

Please sign in to comment.