summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Vandegrift <ross@kallisti.us>2017-11-27 15:38:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-27 17:36:58 +0900
commit31ce5250cb125a5aee98480ba87570e9811c5c54 (patch)
treea10ae444554b3c1570b5efaafaf973ebc69abe01
parent59a573fabb3ec6b4ad4c2ff366865f97e0ea9284 (diff)
evas: Fix sign mismatch in evas between.c and .h definitions
Summary: Parameters w and h are declared as int for evas_common_rgba_image_from_data and evas_common_rgba_image_from_copied_data in evas_image_data.c. This does not match the prototypes in evas_image_private.h which declares them unsigned. Original report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748026 Reviewers: jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5540
-rw-r--r--src/lib/evas/common/evas_image_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_image_data.c b/src/lib/evas/common/evas_image_data.c
index 1c5b788..ad348f4 100644
--- a/src/lib/evas/common/evas_image_data.c
+++ b/src/lib/evas/common/evas_image_data.c
@@ -9,7 +9,7 @@
9#include "evas_image.h" 9#include "evas_image.h"
10 10
11int 11int
12evas_common_rgba_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace) 12evas_common_rgba_image_from_data(Image_Entry* ie_dst, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
13{ 13{
14 RGBA_Image *dst = (RGBA_Image *) ie_dst; 14 RGBA_Image *dst = (RGBA_Image *) ie_dst;
15 15
@@ -67,7 +67,7 @@ evas_common_rgba_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *imag
67} 67}
68 68
69int 69int
70evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace) 70evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
71{ 71{
72 RGBA_Image *dst = (RGBA_Image *) ie_dst; 72 RGBA_Image *dst = (RGBA_Image *) ie_dst;
73 73