diff options
author | 2016-01-22 20:12:55 -0800 | |
---|---|---|
committer | 2016-01-22 20:19:14 -0800 | |
commit | 45be7ff6cfd48dd79ad19440eccdb4a053c6a6bb (patch) | |
tree | 6a49ed5ef3c56015bfa6732b242e5756dec6a73d /test/core | |
parent | ea05099f521c4de062f86675095827b658f123d6 (diff) |
fix compilation on windows
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/census/tag_set_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/census/tag_set_test.c b/test/core/census/tag_set_test.c index 8e09e6c1c6..1056e98d55 100644 --- a/test/core/census/tag_set_test.c +++ b/test/core/census/tag_set_test.c @@ -319,9 +319,10 @@ static void replace_add_delete_test(void) { census_tag_set_destroy(cts2); } +#define BUF_SIZE 200 + // test encode/decode. static void encode_decode_test(void) { - const size_t BUF_SIZE = 200; char buffer[BUF_SIZE]; struct census_tag_set *cts = census_tag_set_create(NULL, basic_tags, BASIC_TAG_COUNT, NULL); |