[physfs] physfs-2.0.0/archivers/zip.c:432: error: dereferencing type-punned pointer will break strict-aliasing rules

Dennis Schridde devurandom at gmx.net
Fri Sep 25 07:00:34 EDT 2009


Hi!

The attached patch fixes the following error:

physfs-2.0.0/archivers/zip.c: In function ‘zip_find_end_of_central_dir’:                                                                                                
physfs-2.0.0/archivers/zip.c:432: error: dereferencing type-punned pointer 
will break strict-aliasing rules

--Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: physfs-2.0.0-zip-archiver-fix-type-punning.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20090925/b3021670/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://icculus.org/pipermail/physfs/attachments/20090925/b3021670/attachment.pgp>


More information about the physfs mailing list