freebsd-ports/graphics/ayam/files/patch-MF3D_mffile.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
508 B
C

--- MF3D/mffile.c.orig 2007-12-17 19:24:47.000000000 +0100
+++ MF3D/mffile.c 2007-12-17 19:25:03.000000000 +0100
@@ -102,7 +102,7 @@
/* Add this type to the table */
++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)
{