]> granicus.if.org Git - zziplib/commit
zzip: memdisk: use correct type when when copying extra blocks
authorPatrick Steinhardt <ps@pks.im>
Tue, 21 May 2019 11:45:43 +0000 (13:45 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 1 Aug 2019 06:33:34 +0000 (08:33 +0200)
commit8d658c545610a4c2a90ed46b711c1fd0729c71a1
tree216f1322756367a8f947ab7be2e0101f2942b366
parente674a53f76fc23018257b8d2637f73e57a8f78af
zzip: memdisk: use correct type when when copying extra blocks

The data field of `struct zzip_disk` is of type `zzip_byte_t *`, which
is unsigned, but we store them in a `char` field and thus cause
signedness warnings on platforms where `char` is signed. Fix this by
using `zzip_byte_t`, instead.
zzip/memdisk.c