From 7ef21ceaf7a91d6bfe6c389a17f2e31ac6228f5b Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Thu, 15 Jul 2010 19:07:28 +0000 Subject: [PATCH] Fixup previous commit --- fluidsynth/src/utils/fluidsynth_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluidsynth/src/utils/fluidsynth_priv.h b/fluidsynth/src/utils/fluidsynth_priv.h index 9b904a65..2d898aad 100644 --- a/fluidsynth/src/utils/fluidsynth_priv.h +++ b/fluidsynth/src/utils/fluidsynth_priv.h @@ -165,10 +165,10 @@ typedef int fluid_socket_t; #if SUPPORTS_VLA # define FLUID_DECLARE_VLA(_type, _name, _len) \ - _type _name[_len] + _type _name[_len] #else # define FLUID_DECLARE_VLA(_type, _name, _len) \ - _type* _name = alloca(sizeof(_type) * (_len)) + _type* _name = g_newa(_type, (_len)) #endif