summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htsarrays.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsarrays.h b/src/htsarrays.h
index a750e42..c89222e 100644
--- a/src/htsarrays.h
+++ b/src/htsarrays.h
@@ -61,7 +61,7 @@ static void hts_record_assert_memory_failed(const size_t size) {
/** Capacity. **/ \
size_t capa; \
}
-#define EMPTY_TYPED_ARRAY { NULL, 0, 0 }
+#define EMPTY_TYPED_ARRAY { { NULL }, 0, 0 }
/** Array size, in elements. **/
#define TypedArraySize(A) ((A).size)