Fix some warnings
This commit is contained in:
parent
02d197ca08
commit
0c0019a2d1
3 changed files with 3 additions and 3 deletions
|
@ -1827,7 +1827,7 @@ vorbis_comment *ov_comment(OggVorbis_File *vf,int link){
|
|||
}
|
||||
}
|
||||
|
||||
static int host_is_big_endian() {
|
||||
static int host_is_big_endian(void) {
|
||||
ogg_int32_t pattern = 0xfeedface; /* deadbeef */
|
||||
unsigned char *bytewise = (unsigned char *)&pattern;
|
||||
if (bytewise[0] == 0xfe) return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue