diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-06-29 13:42:21 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-06-29 16:02:36 +0900 |
commit | 1ef1c04f421736bfed5a5d9d22b1a6be21e65812 (patch) | |
tree | ea8fd5878264dc2e8a068483e86ad0590486fb7a | |
parent | 261d3319dff7a1c4b6501b2f51cc45a5510b2ed4 (diff) | |
download | efl-1ef1c04f421736bfed5a5d9d22b1a6be21e65812.tar.gz |
gl_drm: Fix a few compilation warnings
warning: expression which evaluates to zero treated as a null
pointer constant of type 'void *' [-Wnon-literal-null-conversion]
-rw-r--r-- | src/modules/evas/engines/gl_drm/evas_engine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c index 2e0fea8868..b1083a18aa 100644 --- a/src/modules/evas/engines/gl_drm/evas_engine.c +++ b/src/modules/evas/engines/gl_drm/evas_engine.c @@ -784,13 +784,13 @@ eng_image_plane_assign(void *data, void *image, int x, int y) Ecore_Drm2_Plane *plane = NULL; struct scanout_handle *g; - EINA_SAFETY_ON_NULL_RETURN_VAL(image, EINA_FALSE); + EINA_SAFETY_ON_NULL_RETURN_VAL(image, NULL); re = (Render_Engine *)data; - EINA_SAFETY_ON_NULL_RETURN_VAL(re, EINA_FALSE); + EINA_SAFETY_ON_NULL_RETURN_VAL(re, NULL); ob = eng_get_ob(re); - EINA_SAFETY_ON_NULL_RETURN_VAL(ob, EINA_FALSE); + EINA_SAFETY_ON_NULL_RETURN_VAL(ob, NULL); img = image; n = img->native.data; |