From 031c3671da5917ab1644fe3ca3b53868db7db974 Mon Sep 17 00:00:00 2001 From: carlo-bramini Date: Sat, 21 Oct 2017 18:33:27 +0200 Subject: [PATCH] Replace GPOINTER_TO_INT with FLUID_POINTER_TO_INT --- src/sfloader/fluid_defsfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfloader/fluid_defsfont.c b/src/sfloader/fluid_defsfont.c index 5fac37fc..b677985b 100644 --- a/src/sfloader/fluid_defsfont.c +++ b/src/sfloader/fluid_defsfont.c @@ -3243,7 +3243,7 @@ fixup_pgen (SFData * sf) while (p2) { /* traverse this preset's zones */ z = (SFZone *) (p2->data); - if ((i = GPOINTER_TO_INT (z->instsamp))) + if ((i = FLUID_POINTER_TO_INT (z->instsamp))) { /* load instrument # */ p3 = fluid_list_nth (sf->inst, i - 1); if (!p3) @@ -3278,7 +3278,7 @@ fixup_igen (SFData * sf) while (p2) { /* traverse instrument's zones */ z = (SFZone *) (p2->data); - if ((i = GPOINTER_TO_INT (z->instsamp))) + if ((i = FLUID_POINTER_TO_INT (z->instsamp))) { /* load sample # */ p3 = fluid_list_nth (sf->sample, i - 1); if (!p3)