From f06506c970c26d1602f0958481889efccee681cc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 8 Aug 2016 15:15:54 +0900 Subject: [PATCH] evas: Mark native_surface as const The void* argument should be considered read-only. This doesn't change anything, really. --- src/modules/evas/engines/gl_x11/evas_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c index f5d783d..ddf1be6 100644 --- a/src/modules/evas/engines/gl_x11/evas_engine.c +++ b/src/modules/evas/engines/gl_x11/evas_engine.c @@ -2366,7 +2366,7 @@ static void * eng_image_native_set(void *data, void *image, void *native) { Render_Engine *re = (Render_Engine *)data; - Evas_Native_Surface *ns = native; + const Evas_Native_Surface *ns = native; Evas_GL_Image *im = image, *im2 = NULL; Visual *vis = NULL; Pixmap pm = 0; -- 2.7.4