From 26bc6b48313dd0470a3998dace217148fc314271 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Oct 2014 13:44:08 +0200 Subject: Add some missing "const"s The one in msg.c was mistakenly removed with commit e99a37f6. I didn't actually test the change in ao_sndio.c (but obviously "ap" shouldn't be static). --- video/out/gl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 49fd078f6c..7bffa486d2 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -343,7 +343,7 @@ static const struct gl_functions gl_functions[] = { }, { .extension = "GLX_SGI_video_sync", - .functions = (struct gl_function[]) { + .functions = (const struct gl_function[]) { DEF_FN_NAMES(GetVideoSync, "glXGetVideoSyncSGI"), DEF_FN_NAMES(WaitVideoSync, "glXWaitVideoSyncSGI"), {0}, -- cgit v1.2.3