Changeset 989:3546df4ceb78 in roaraudio for libroar
- Timestamp:
- 12/18/08 16:10:02 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.