diff options
Diffstat (limited to 'src/gehashmap.h')
-rw-r--r-- | src/gehashmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gehashmap.h b/src/gehashmap.h index 7c1e4b2..2fc9ffb 100644 --- a/src/gehashmap.h +++ b/src/gehashmap.h @@ -22,7 +22,7 @@ #define GEHASHMAP_FOREACH(entry, map) \ for (size_t _gehashmap_i = 0; \ _gehashmap_i < (map)->capacity; \ - (_gehashmap_i)++) \ + _gehashmap_i++) \ for ((entry) = (map)->entries[_gehashmap_i]; \ (entry) != NULL; \ (entry) = (entry)->next) @@ -36,7 +36,7 @@ #define GEHASHMAP_FOREACH_SAFE(entry, tmp, map) \ for (size_t _gehashmap_i = 0; \ _gehashmap_i < (map)->capacity; \ - (_gehashmap_i)++) \ + _gehashmap_i++) \ for ((entry) = (map)->entries[_gehashmap_i], \ (tmp) = (entry) ? (entry)->next : NULL; \ (entry) != NULL; \ |