freebsd-ports/graphics/ayam/files/patch-MF3D_mfobject.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

11 lines
445 B
C

--- MF3D/mfobject.c.orig 2016-01-13 20:09:57 UTC
+++ MF3D/mfobject.c
@@ -930,7 +930,7 @@ MF3D_ObjTypeReader (
++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)