Skip to content

Commit

Permalink
fixed gcc-7 conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Mar 4, 2021
1 parent 6c0bfc4 commit 713d495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/seekable_format/zstdseek_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 713d495

Please sign in to comment.