fixed gcc-7 conversion warning
This commit is contained in:
1 parent
6c0bfc468c
commit
713d4953f7
1 file changed
+1
-1
@@ -71,7 +71,7 @@ size_t ZSTD_seekable_frameLog_allocVec(ZSTD_frameLog* fl)
|
|||||||
fl->entries = (framelogEntry_t*)malloc(
|
fl->entries = (framelogEntry_t*)malloc(
|
||||||
sizeof(framelogEntry_t) * FRAMELOG_STARTING_CAPACITY);
|
sizeof(framelogEntry_t) * FRAMELOG_STARTING_CAPACITY);
|
||||||
if (fl->entries == NULL) return ERROR(memory_allocation);
|
if (fl->entries == NULL) return ERROR(memory_allocation);
|
||||||
fl->capacity = FRAMELOG_STARTING_CAPACITY;
|
fl->capacity = (U32)FRAMELOG_STARTING_CAPACITY;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user