Changeset 5270:e25346c13638 in roaraudio for libroar/ltm.c


Ignore:
Timestamp:
11/17/11 18:20:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some gcc -Wextra warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/ltm.c

    r5145 r5270  
    175175 char * buf = NULL; 
    176176 int    ret; 
    177  int    i; 
     177 size_t i; 
    178178 
    179179 if ( con == NULL ) { 
     
    260260} 
    261261 
    262 static int64_t * roar_ltm_get_streamptr(struct roar_ltm_result * res, int streamidx) { 
     262static int64_t * roar_ltm_get_streamptr(struct roar_ltm_result * res, size_t streamidx) { 
    263263 int64_t * ptr; 
    264264 int numchans; 
    265  int i; 
     265 size_t i; 
    266266 
    267267 ROAR_DBG("roar_ltm_get_streamptr(res=%p, streamidx=%i) = ?", res, streamidx); 
     
    289289} 
    290290 
    291 int roar_ltm_get_numchans(struct roar_ltm_result * res, int streamidx) { 
     291int roar_ltm_get_numchans(struct roar_ltm_result * res, size_t streamidx) { 
    292292 int64_t * ptr = roar_ltm_get_streamptr(res, streamidx); 
    293293 
     
    298298} 
    299299 
    300 int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, int streamidx, int channel) { 
     300int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, size_t streamidx, int channel) { 
    301301 int64_t * ptr = roar_ltm_get_streamptr(res, streamidx); 
    302302 int numchans; 
Note: See TracChangeset for help on using the changeset viewer.