Changeset 3552:24a88686e1f2 in roaraudio for libroardsp


Ignore:
Timestamp:
02/20/10 03:00:29 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

less compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/channels.c

    r3551 r3552  
    413413 
    414414   for (c = 0; c < chans; c++) { 
    415     buf[map[c]] = in[c]; 
     415    buf[(int)map[c]] = in[c]; 
    416416   } 
    417417 
     
    425425  for (frame = 0; frame < len/(chans*_8BIT); frame++) { 
    426426   for (c = 0; c < chans; c++) { 
    427     out[map[c]] = in[c]; 
     427    out[(int)map[c]] = in[c]; 
    428428   } 
    429429   in  += chans; 
     
    454454 
    455455   for (c = 0; c < chans; c++) { 
    456     buf[map[c]] = in[c]; 
     456    buf[(int)map[c]] = in[c]; 
    457457   } 
    458458 
     
    466466  for (frame = 0; frame < len/(chans*_16BIT); frame++) { 
    467467   for (c = 0; c < chans; c++) { 
    468     out[map[c]] = in[c]; 
     468    out[(int)map[c]] = in[c]; 
    469469   } 
    470470   in  += chans; 
     
    499499 
    500500   for (c = 0; c < chans; c++) { 
    501     buf[map[c]] = in[c]; 
     501    buf[(int)map[c]] = in[c]; 
    502502   } 
    503503 
     
    511511  for (frame = 0; frame < len/(chans*_32BIT); frame++) { 
    512512   for (c = 0; c < chans; c++) { 
    513     out[map[c]] = in[c]; 
     513    out[(int)map[c]] = in[c]; 
    514514   } 
    515515   in  += chans; 
Note: See TracChangeset for help on using the changeset viewer.