From fbbb3d18160273235cac788d9dd553b8257a6b7b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Mar 2015 14:40:57 -0400 Subject: [PATCH] Fix some clang warnings It complains about double const, and it is right. --- gdk/gdkgl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index 1d7d2d4bb9..85ce63da55 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -52,7 +52,8 @@ get_vertex_type_name (int type) } static guint -create_shader (int type, const char const *code) +create_shader (int type, + const char *code) { guint shader; int status; @@ -85,8 +86,8 @@ create_shader (int type, const char const *code) static void make_program (GdkGLContextProgram *program, - const char const *vertex_shader_code, - const char const *fragment_shader_code) + const char *vertex_shader_code, + const char *fragment_shader_code) { guint vertex_shader, fragment_shader; int status;