blob: f35a551694770f54eaf45aa2a3dc457a73608b0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- MF3D/mffile.c.orig 2015-06-23 18:03:50 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)
{
|