Explicitly casts the enumeration value to ineteger 88/15488/1
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 22 Jan 2014 02:15:20 +0000 (11:15 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 22 Jan 2014 02:15:20 +0000 (11:15 +0900)
Change-Id: If658ba589c45f58bd1d93266c54740458bd97801

packaging/org.tizen.data-provider-slave.spec
src/client.c
src/lb.c

index 03bba17..0dffce8 100644 (file)
@@ -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
index c33e82f..8a7bc09 100644 (file)
@@ -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.
index 0bc84e0..f7c70f8 100644 (file)
--- 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;