From: Sung-jae Park Date: Wed, 22 Jan 2014 02:15:20 +0000 (+0900) Subject: Explicitly casts the enumeration value to ineteger X-Git-Tag: accepted/tizen/generic/20140226.073944~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b314ee44f290916a20cebee383a70fef60543d9;p=platform%2Fframework%2Fweb%2Fdata-provider-slave.git Explicitly casts the enumeration value to ineteger Change-Id: If658ba589c45f58bd1d93266c54740458bd97801 --- diff --git a/packaging/org.tizen.data-provider-slave.spec b/packaging/org.tizen.data-provider-slave.spec index 03bba17..0dffce8 100644 --- a/packaging/org.tizen.data-provider-slave.spec +++ b/packaging/org.tizen.data-provider-slave.spec @@ -2,7 +2,7 @@ Name: org.tizen.data-provider-slave Summary: Plugin type livebox service provider -Version: 0.12.22 +Version: 0.13.1 Release: 1 Group: HomeTF/Livebox License: Flora diff --git a/src/client.c b/src/client.c index c33e82f..8a7bc09 100644 --- a/src/client.c +++ b/src/client.c @@ -87,7 +87,7 @@ static int method_new(struct event_arg *arg, int *width, int *height, double *pr int tmp; tmp = lb_resize(arg->pkgname, arg->id, arg->info.lb_create.width, arg->info.lb_create.height); DbgPrint("lb_resize returns: %d\n", tmp); - if (tmp == LB_STATUS_SUCCESS) { + if (tmp == (int)LB_STATUS_SUCCESS) { /*! * \note * Just returns resized canvas size. diff --git a/src/lb.c b/src/lb.c index 0bc84e0..f7c70f8 100644 --- a/src/lb.c +++ b/src/lb.c @@ -1465,7 +1465,7 @@ HAPI int lb_create(const char *pkgname, const char *id, const char *content_info * even if it has no updates on the content, title, * it will set them to NULL. */ - if (so_get_output_info(inst, w, h, priority, out_content, out_title) == LB_STATUS_SUCCESS) { + if (so_get_output_info(inst, w, h, priority, out_content, out_title) == (int)LB_STATUS_SUCCESS) { if (*out_content) { char *tmp;