Changeset 5360:3dd9d1fd1b0e in roaraudio for libroar/ctl.c
- Timestamp:
- 12/16/11 19:03:13 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/ctl.c
r5357 r5360 579 579 } 580 580 581 c har * roar_proto2str (const int proto) {581 const char * roar_proto2str (const int proto) { 582 582 size_t i; 583 583 … … 586 586 for (i = 0; _proto[i].id != -1; i++) 587 587 if ( proto == _proto[i].id ) 588 return (char*)_proto[i].name;588 return _proto[i].name; 589 589 590 590 roar_err_set(ROAR_ERROR_NOENT); … … 611 611 } 612 612 613 c har * roar_byteorder2str (const int byteorder) {613 const char * roar_byteorder2str (const int byteorder) { 614 614 switch (byteorder) { 615 615 case ROAR_BYTEORDER_LE: return "little endian"; break;
Note: See TracChangeset
for help on using the changeset viewer.