blob: 523612ab2ac8d6d87edb60ec1eaa5af3f489e1a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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)
{
|