Changeset 3939:2e0714441a16 in roaraudio for libroarpulse


Ignore:
Timestamp:
06/15/10 23:44:23 (9 years ago)
Author:
phi
Branch:
default
Message:

get some warnings way

Location:
libroarpulse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/stream.c

    r3938 r3939  
    7979}; 
    8080 
    81 typedef void pa_proplist; 
     81typedef struct pa_proplist pa_proplist; 
    8282void pa_stream_set_state(pa_stream *s, pa_stream_state_t st); 
    8383 
     
    355355        ROAR_HAVE_ARG_VOLUME_OF_PA_STREAM_CONNECT_PLAYBACK volume            /**< Initial volume, or NULL for default */, 
    356356        pa_stream *sync_stream        /**< Synchronize this stream with the specified one, or NULL for a standalone stream*/) { 
    357  return _roar_pa_stream_open(s, dev, attr, flags, volume, sync_stream, PA_STREAM_PLAYBACK); 
     357 return _roar_pa_stream_open(s, dev, attr, flags, (pa_cvolume*)volume, sync_stream, PA_STREAM_PLAYBACK); 
    358358} 
    359359 
  • libroarpulse/util.c

    r3811 r3939  
    6464 
    6565 if ( (r = strrchr(p, '/')) ) { 
    66   return (const char *) r+1; 
     66  return (ROAR_HAVE_TYPE_PA_PATH_GET_FILENAME) r+1; 
    6767 } else { 
    68   return p; 
     68  return (ROAR_HAVE_TYPE_PA_PATH_GET_FILENAME) p; 
    6969 } 
    7070 
Note: See TracChangeset for help on using the changeset viewer.