diff options
| author | Tyge <[email protected]> | 2020-04-23 22:53:10 +0200 |
|---|---|---|
| committer | Tyge <[email protected]> | 2020-04-23 22:53:10 +0200 |
| commit | 902b45a47dc7dd7d0662dc0981450e70f5205e27 (patch) | |
| tree | f8c50b7c78fa348e2b6714f227c25fa53fd54d1e | |
| parent | 94c816fbed2882f7dc0127f05f4ee74ffdccc21b (diff) | |
| download | STC-modified-902b45a47dc7dd7d0662dc0981450e70f5205e27.tar.gz STC-modified-902b45a47dc7dd7d0662dc0981450e70f5205e27.zip | |
Removes Warning for C99 usage in VS when compiled as C++.
| -rw-r--r-- | stc/cmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -253,7 +253,7 @@ static inline cmap_##tag##_iter_t \ cmap_##tag##_begin(CMap_##tag* map) { \
CMapEntry_##tag* e = map->_table.data, *end = e + _cvector_capacity(map->_table); \
while (e != end && !e->hashx) ++e; \
- return (cmap_##tag##_iter_t) {e == end ? NULL : e, end}; \
+ cmap_##tag##_iter_t it = {e == end ? NULL : e, end}; return it; \
} \
\
static inline cmap_##tag##_iter_t \
|
