Changeset 989:3546df4ceb78 in roaraudio
- Timestamp:
- 12/18/08 16:10:02 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio.c
r943 r989 35 35 #include "libroar.h" 36 36 37 // this is to avoid warning messages on platforms38 // where sizeof(void*) == 8 and szeof(int) == 439 #ifdef __LP64__40 #define INSTINT long int41 #else42 #define INSTINT int43 #endif44 45 37 int roar_vio_init_calls (struct roar_vio_calls * calls) { 46 38 if ( !calls ) … … 72 64 73 65 int roar_vio_set_fh (struct roar_vio_calls * vio, int fh) { 74 return roar_vio_set_inst(vio, (void*)( INSTINT)(fh + 1));66 return roar_vio_set_inst(vio, (void*)(ROAR_INSTINT)(fh + 1)); 75 67 } 76 68 … … 79 71 return -1; 80 72 81 return ((int)( INSTINT)vio->inst) - 1;73 return ((int)(ROAR_INSTINT)vio->inst) - 1; 82 74 } 83 75 -
roard/driver_roar.c
r949 r989 24 24 25 25 #include "roard.h" 26 27 // this is to avoid warning messages on platforms28 // where sizeof(void*) == 8 and szeof(int) == 429 #ifdef __LP64__30 #define INSTINT long int31 #else32 #define INSTINT int33 #endif34 26 35 27 int driver_roar_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh) {
Note: See TracChangeset
for help on using the changeset viewer.