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

    r5247 r5270  
    3939 YConnection * ycon = roar_mm_malloc(sizeof(YConnection)); 
    4040 struct roar_connection con; 
    41  char * server = (char *)con_arg; 
    42  char * name   = "libroaryiff client"; 
     41 const char * server = (char *)con_arg; 
     42 const char * name   = "libroaryiff client"; 
    4343 
    4444 memset(ycon, 0, sizeof(YConnection)); 
     
    7575 struct roar_vio_calls vio; 
    7676 
     77 // in case we started the server by using +fork we can not keep it running 
     78 // as it will terminate anyway. If there are any other clients (I guess 
     79 // this is what this option is about) it will keep running. 
     80 (void)no_shutdown; 
     81 
    7782 if ( connection == NULL ) 
    7883  return; 
Note: See TracChangeset for help on using the changeset viewer.