Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: copy bytes into an uint64_t for strict-aliasing rules
This change suppresses the following warning (gcc):
test-table-patricia-trie-cursor.c: In function ‘geo_byte_parse’:
test-table-patricia-trie-cursor.c:397:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
grn_ntog((uint8_t *)(&geo_point), geo_byte, sizeof(grn_geo_point));
^- Loading branch information