mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
193379f492
PR: 206248 Submitted by: tkato432 yahoo com Sponsored by: Absolight
12 lines
480 B
C
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)
|
|
{
|