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

    r5250 r5270  
    4141 int blocksizes[] = {11, 12, 13}; 
    4242 int blocks[]     = {4, 5, 6, 3, 7, 2, 8}; 
    43  int bs, b; 
     43 size_t bs, b; 
    4444 int tmp; 
    4545 
     
    6363 struct roar_vio_sysio_ioctl ctl; 
    6464 int tmp, ctmp; 
     65 
     66 (void)name; 
    6567 
    6668 // preinit ctl struct, we always pass ints in tmp. 
     
    113115 } 
    114116 
    115  if ( tmp != info->channels ) { 
     117 if ( tmp != (int)info->channels ) { 
    116118  _err(); 
    117119 } 
     
    182184 } 
    183185 
    184  if ( tmp != info->rate ) { 
     186 if ( tmp != (int)info->rate ) { 
    185187  _err(); 
    186188 } 
Note: See TracChangeset for help on using the changeset viewer.