backported a warning fix. (from 2.0 branch commit 6fa075aa693e). SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 10:15:50 +0300
branchSDL-1.2
changeset 886cb08fb0976e6
parent 885 dd251a0ec666
child 887 e49459791ae8
backported a warning fix. (from 2.0 branch commit 6fa075aa693e).
dynamic_ogg.h
     1.1 --- a/dynamic_ogg.h	Sun Oct 07 03:07:33 2018 +0300
     1.2 +++ b/dynamic_ogg.h	Sun Oct 07 10:15:50 2018 +0300
     1.3 @@ -31,7 +31,7 @@
     1.4  	void *handle;
     1.5  	int (*ov_clear)(OggVorbis_File *vf);
     1.6  	vorbis_info *(*ov_info)(OggVorbis_File *vf,int link);
     1.7 -	int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks);
     1.8 +	int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks);
     1.9  	ogg_int64_t (*ov_pcm_total)(OggVorbis_File *vf,int i);
    1.10  #ifdef OGG_USE_TREMOR
    1.11  	long (*ov_read)(OggVorbis_File *vf,char *buffer,int length, int *bitstream);