Browse Source

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.
master
kevin 11 years ago
parent
commit
60090ac441
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      dsp/cmDspClass.c

+ 4
- 4
dsp/cmDspClass.c View File

@@ -250,7 +250,7 @@ void* cmDspInstAllocate(
250 250
   return p;
251 251
 }
252 252
 
253
-va_list  _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
253
+void  _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
254 254
 {
255 255
   a->label   = va_arg(vl,const char*);
256 256
   a->constId = va_arg(vl,unsigned);
@@ -258,7 +258,7 @@ va_list  _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
258 258
   a->cn      = va_arg(vl,unsigned);
259 259
   a->flags   = va_arg(vl,unsigned);
260 260
   a->doc     = va_arg(vl,const char*);  
261
-  return vl;
261
+  
262 262
 }
263 263
 
264 264
 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
279 279
     
280 280
     argCnt += repeatCnt;
281 281
 
282
-    vl1 = _cmDspParseArgV(&a,vl1);
282
+    _cmDspParseArgV(&a,vl1);
283 283
   }
284 284
 
285 285
   va_end(vl1);
@@ -290,7 +290,7 @@ void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instB
290 290
   {
291 291
     cmDspVarArg_t a;
292 292
     
293
-    vl2 = _cmDspParseArgV(&a,vl2);
293
+    _cmDspParseArgV(&a,vl2);
294 294
     
295 295
     cmDspArgSetupN(ctx,aa,argCnt,j,repeatCnt,a.label,a.constId,a.rn, a.cn, a.flags, a.doc ); 
296 296
     j += repeatCnt;

Loading…
Cancel
Save