Changeset 4944:97c58eba6db9 in roaraudio


Ignore:
Timestamp:
05/09/11 10:35:48 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

work around small API inconsistency ((void*) vs. (char*))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/caps.c

    r4708 r4944  
    107107 struct roar_message mes; 
    108108 struct roar_caps caps; 
    109  char * data = NULL; 
     109 void * data = NULL; 
     110 char * data_char; 
    110111 size_t i; 
    111112 
     
    161162 mes.cmd = ROAR_CMD_CAPS; 
    162163 
    163  if ( roar_req(con, &mes, &data) == -1 ) 
    164   return -1; 
     164 data_char = data; 
     165 if ( roar_req(con, &mes, &data_char) == -1 ) 
     166  return -1; 
     167 data = data_char; 
    165168 
    166169 if ( mes.cmd != ROAR_CMD_OK ) { 
Note: See TracChangeset for help on using the changeset viewer.