Replace G_INT_TO_POINTER with FLUID_INT_TO_POINTER

This commit is contained in:
carlo-bramini 2017-10-21 18:32:17 +02:00
parent 82454b9fd5
commit 122b249e27

View file

@ -2733,7 +2733,7 @@ load_pgen (int size, SFData * sf, FILE * fd)
{ /* inst is last gen */
level = 3;
READW (genval.uword, fd);
((SFZone *) (p2->data))->instsamp = GINT_TO_POINTER (genval.uword + 1);
((SFZone *) (p2->data))->instsamp = FLUID_INT_TO_POINTER (genval.uword + 1);
break; /* break out of generator loop */
}
else
@ -3083,7 +3083,7 @@ load_igen (int size, SFData * sf, FILE * fd)
{ /* sample is last gen */
level = 3;
READW (genval.uword, fd);
((SFZone *) (p2->data))->instsamp = GINT_TO_POINTER (genval.uword + 1);
((SFZone *) (p2->data))->instsamp = FLUID_INT_TO_POINTER (genval.uword + 1);
break; /* break out of generator loop */
}
else