mirror of
https://github.com/zlib-ng/minizip-ng
synced 2026-08-25 14:26:08 -04:00
fix: warning: '=': narrowing conversion, possible loss of data
This commit is contained in:
parent
947848cb1a
commit
d69cb0a539
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ int32_t mz_stream_split_write(void *stream, const void *buf, int32_t size) {
|
|||
if (split->number_disk != -1) {
|
||||
bytes_avail = split->disk_size - split->total_out_disk;
|
||||
if (bytes_to_write > bytes_avail)
|
||||
bytes_to_write = bytes_avail;
|
||||
bytes_to_write = (int32_t)bytes_avail;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue