mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +00:00
Replace G_INT_TO_POINTER with FLUID_INT_TO_POINTER
This commit is contained in:
parent
82454b9fd5
commit
122b249e27
1 changed files with 2 additions and 2 deletions
|
@ -2733,7 +2733,7 @@ load_pgen (int size, SFData * sf, FILE * fd)
|
||||||
{ /* inst is last gen */
|
{ /* inst is last gen */
|
||||||
level = 3;
|
level = 3;
|
||||||
READW (genval.uword, fd);
|
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 */
|
break; /* break out of generator loop */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3083,7 +3083,7 @@ load_igen (int size, SFData * sf, FILE * fd)
|
||||||
{ /* sample is last gen */
|
{ /* sample is last gen */
|
||||||
level = 3;
|
level = 3;
|
||||||
READW (genval.uword, fd);
|
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 */
|
break; /* break out of generator loop */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue