[PATCH 1/2] Fix compilation with older libzip

Thiago Macieira thiago at macieira.org
Thu Dec 5 20:18:17 UTC 2013


On quinta-feira, 5 de dezembro de 2013 20:08:20, Dirk Hohndel wrote:
> > -       quint64 entries = zip_get_num_entries(zip, 0);
> > +       quint64 entries = zip_get_num_entries(zip, (zip_flags_t)0);
> 
> Nope. that doesn't work on 64bit Linux.
> 
> Basically we have platforms where the real type in zip.h is 32bit and
> others where it is 64bit. So I think we can't use the trick that you
> propose.
> 
> I'll revert that patch of yours, sorry.

I've got another trick up my sleeve.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131205/be3fda6f/attachment.sig>


More information about the subsurface mailing list