You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of migrating minizip 1.2 to 2.8.6 on Apple platforms, using 'HAVE_ARC4RANDOM_BUF HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB' and including libs z and iconv, as seen on the temporary branch https://github.com/ZipArchive/ZipArchive/tree/minizip286.
Now, using iconv is new (compared to minizip 1.2), and its signature on Apple platforms is:
I'm also a bit surprised that you're going to compare an unsigned long casted to an int with the value -1 a few lines below. So there may be something to change here.
The text was updated successfully, but these errors were encountered:
The iconv() function returns the number of characters converted in a
nonreversible way during this call; reversible conversions are not
counted. In case of error, it sets errno and returns (size_t) -1.
I'm in the process of migrating minizip 1.2 to 2.8.6 on Apple platforms, using
'HAVE_ARC4RANDOM_BUF HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB'
and including libsz
andiconv
, as seen on the temporary branch https://github.com/ZipArchive/ZipArchive/tree/minizip286.Now, using
iconv
is new (compared to minizip 1.2), and its signature on Apple platforms is:Where
size_t
is anunsigned long
, so it produces that warning:I'm also a bit surprised that you're going to compare an
unsigned long
casted to anint
with the value-1
a few lines below. So there may be something to change here.The text was updated successfully, but these errors were encountered: