forked from enlightenment/efl
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
This commit is contained in:
parent
59a573fabb
commit
31ce5250cb
|
@ -9,7 +9,7 @@
|
|||
#include "evas_image.h"
|
||||
|
||||
int
|
||||
evas_common_rgba_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
|
||||
evas_common_rgba_image_from_data(Image_Entry* ie_dst, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
|
||||
{
|
||||
RGBA_Image *dst = (RGBA_Image *) ie_dst;
|
||||
|
||||
|
@ -67,7 +67,7 @@ evas_common_rgba_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *imag
|
|||
}
|
||||
|
||||
int
|
||||
evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
|
||||
evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace)
|
||||
{
|
||||
RGBA_Image *dst = (RGBA_Image *) ie_dst;
|
||||
|
||||
|
|
Loading…
Reference in New Issue