From 03bd4ca6aa38c1a382c892cef86296cd621ecc1d Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 7 Oct 2018 10:15:50 +0300 Subject: [PATCH] backported a warning fix. (from 2.0 branch commit 6fa075aa693e). --- dynamic_ogg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_ogg.h b/dynamic_ogg.h index 822458d4..8eb91656 100644 --- a/dynamic_ogg.h +++ b/dynamic_ogg.h @@ -31,7 +31,7 @@ typedef struct { void *handle; int (*ov_clear)(OggVorbis_File *vf); vorbis_info *(*ov_info)(OggVorbis_File *vf,int link); - int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks); + int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks); ogg_int64_t (*ov_pcm_total)(OggVorbis_File *vf,int i); #ifdef OGG_USE_TREMOR long (*ov_read)(OggVorbis_File *vf,char *buffer,int length, int *bitstream);