Fix SVACE issue : Assignment of a signed value which has type [int] to a variable... 96/68796/1 accepted/tizen/common/20160511.142344 accepted/tizen/ivi/20160512.051034 accepted/tizen/mobile/20160512.051108 accepted/tizen/wearable/20160512.051052 submit/tizen/20160511.101024
authorgs86.lee <gs86.lee@samsung.com>
Mon, 9 May 2016 23:21:21 +0000 (08:21 +0900)
committergs86.lee <gs86.lee@samsung.com>
Mon, 9 May 2016 23:21:21 +0000 (08:21 +0900)
Change-Id: I37989f523b27aba5c7fb820d3afecaed6eda32dc

src/dbus_util.c

index 0147607..4980358 100644 (file)
@@ -98,7 +98,7 @@ static int _append_variant(DBusMessageIter *iter, const char *sig, char *param[]
                        dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT32, &int_type);
                        break;
                case 't':
-                       int64_type = atoi(param[i]);
+                       int64_type = (uint64_t) atoi(param[i]);
                        dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT64, &int64_type);
                        break;
                case 's':