From 60090ac441019fed119e181fd90ee5049a0c993a Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 17 Oct 2013 16:55:26 -0700 Subject: [PATCH] cmDspClass.c : Restored _cmDspParseArgV() to return void to allow compilation on OSX 10.6.8. This need to be fixed correctly so that it compiles on 10.5. --- dsp/cmDspClass.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dsp/cmDspClass.c b/dsp/cmDspClass.c index b10af5d..f33888b 100644 --- a/dsp/cmDspClass.c +++ b/dsp/cmDspClass.c @@ -250,7 +250,7 @@ void* cmDspInstAllocate( return p; } -va_list _cmDspParseArgV( cmDspVarArg_t* a, va_list vl ) +void _cmDspParseArgV( cmDspVarArg_t* a, va_list vl ) { a->label = va_arg(vl,const char*); a->constId = va_arg(vl,unsigned); @@ -258,7 +258,7 @@ va_list _cmDspParseArgV( cmDspVarArg_t* a, va_list vl ) a->cn = va_arg(vl,unsigned); a->flags = va_arg(vl,unsigned); a->doc = va_arg(vl,const char*); - return vl; + } void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instByteCnt, unsigned instSymId, unsigned instId, unsigned storeSymId, unsigned va_cnt, va_list vl0, ... ) @@ -279,7 +279,7 @@ void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instB argCnt += repeatCnt; - vl1 = _cmDspParseArgV(&a,vl1); + _cmDspParseArgV(&a,vl1); } va_end(vl1); @@ -290,7 +290,7 @@ void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instB { cmDspVarArg_t a; - vl2 = _cmDspParseArgV(&a,vl2); + _cmDspParseArgV(&a,vl2); cmDspArgSetupN(ctx,aa,argCnt,j,repeatCnt,a.label,a.constId,a.rn, a.cn, a.flags, a.doc ); j += repeatCnt;