Changeset 5270:e25346c13638 in roaraudio for libroardsp/vio_transcode.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
  • libroardsp/vio_transcode.c

    r4708 r5270  
    7676 return !ret ? count : -1; 
    7777#else 
    78  return !roar_xcoder_proc(vio->inst, buf, count) ? count : -1; 
     78 return !roar_xcoder_proc(vio->inst, buf, count) ? (ssize_t)count : -1; 
    7979#endif 
    8080} 
     
    137137  return -1; 
    138138 
    139  return !roar_bixcoder_read(vio->inst, buf, count) ? count : -1; 
     139 return !roar_bixcoder_read(vio->inst, buf, count) ? (ssize_t)count : -1; 
    140140} 
    141141 
     
    148148  return -1; 
    149149 
    150  return !roar_bixcoder_write(vio->inst, buf, count) ? count : -1; 
     150 return !roar_bixcoder_write(vio->inst, buf, count) ? (ssize_t)count : -1; 
    151151} 
    152152 
Note: See TracChangeset for help on using the changeset viewer.