Changeset 3641:6c894ae04329 in roaraudio


Ignore:
Timestamp:
03/11/10 23:59:11 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use -Wextra

Location:
roarclients
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • roarclients/Makefile

    r3539 r3641  
    1616#DEFINES        = -DDEBUG 
    1717INCLUDE    = -I../include -I./include 
    18 CFLAGS    += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) 
     18CFLAGS    += -g -Wall -Wextra -O2 $(DEFINES) $(INCLUDE) $(INCPATH) 
    1919LDFLAGS    = -g -L../lib/ $(LDPATH) 
    2020LIBS       = $(LIBROAR) 
  • roarclients/polytest.c

    r3517 r3641  
    3434 size_t il = 10; 
    3535 size_t ol = 20; 
    36  int i; 
     36 size_t i; 
    3737 int tmp; 
    3838 
  • roarclients/roarctl.c

    r3630 r3641  
    327327   printf("Stream name           : %s\n", name); 
    328328 
    329   if ( s.pos_rel_id == -1 ) { 
     329  if ( (int)s.pos_rel_id == -1 ) { 
    330330   printf("Relativ position id   : none (stream not synchronized)\n"); 
    331   } else if ( s.pos_rel_id == id[i] ) { 
     331  } else if ( (int)s.pos_rel_id == id[i] ) { 
    332332   printf("Relativ position id   : %i (self synchronized)\n", s.pos_rel_id); 
    333333  } else { 
  • roarclients/roarmonhttp.c

    r3517 r3641  
    123123    } 
    124124 
    125     if ( todo == len ) { // we wrote all of the pkg 
     125    if ( (ssize_t)todo == len ) { // we wrote all of the pkg 
    126126     if ( roar_buffer_next(&ring) == -1 ) 
    127127      return -1; 
  • roarclients/roarvorbis.c

    r3517 r3641  
    8686 if ( *out == -1 ) { 
    8787  need_new_stream = 1; 
    88  } else if ( info->rate != vi->rate || info->channels != vi->channels ) { 
     88 } else if ( info->rate != (uint16_t)vi->rate || info->channels != (uint16_t)vi->channels ) { 
    8989  need_new_stream = 1; 
    9090 } 
  • roarclients/roarvumeter.c

    r3517 r3641  
    7272 char * beat[2]     = {"     ", "Beat!"}; 
    7373 char * dbeat       = beat[0]; 
    74  int have_beat; 
     74 int     have_beat  = 0; 
    7575 int16_t beat_val, beat_old; 
    7676 
Note: See TracChangeset for help on using the changeset viewer.