From 713d4953f712ddc7477877549a0eaebcd0062714 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 3 Mar 2021 18:00:41 -0800 Subject: [PATCH] fixed gcc-7 conversion warning --- contrib/seekable_format/zstdseek_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/seekable_format/zstdseek_compress.c b/contrib/seekable_format/zstdseek_compress.c index 442f9bee9ad..7895e8edc7b 100644 --- a/contrib/seekable_format/zstdseek_compress.c +++ b/contrib/seekable_format/zstdseek_compress.c @@ -71,7 +71,7 @@ size_t ZSTD_seekable_frameLog_allocVec(ZSTD_frameLog* fl) fl->entries = (framelogEntry_t*)malloc( sizeof(framelogEntry_t) * FRAMELOG_STARTING_CAPACITY); if (fl->entries == NULL) return ERROR(memory_allocation); - fl->capacity = FRAMELOG_STARTING_CAPACITY; + fl->capacity = (U32)FRAMELOG_STARTING_CAPACITY; return 0; }