freebsd-ports/graphics/ayam/files/patch-MF3D_mfobject.c
Martin Wilke 229ea01b19 - Update to 1.13 (fix pointyhat build)
- Pass maintainership to submitter

PR:		118786
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
2007-12-18 00:19:10 +00:00

11 lines
472 B
C

--- MF3D/mfobject.c.orig 2007-09-21 13:30:36.000000000 +0200
+++ MF3D/mfobject.c 2007-12-17 19:48:57.000000000 +0100
@@ -930,7 +930,7 @@
++inMetafilePtr->typeTable.nTypes;
numTypes = inMetafilePtr->typeTable.nTypes;
- result = MF3D_Reallocate (&inMetafilePtr->typeTable.types,
+ result = MF3D_Reallocate ((void **)&inMetafilePtr->typeTable.types,
numTypes * sizeof (*inMetafilePtr->typeTable.types));
if (result == kMF3DNoErr)