1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/graphics/ayam/files/patch-MF3D_mffile.c
Mathieu Arnold 193379f492 Update to 1.23.
PR:		206248
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-03-08 16:04:15 +00:00

12 lines
480 B
C

--- MF3D/mffile.c.orig 2016-01-13 20:09:57 UTC
+++ MF3D/mffile.c
@@ -102,7 +102,7 @@ MF3D_TypeObjWrite (
/* 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)
{