aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding/bluetooth-util.c11
-rw-r--r--conf.d/wgt/config.xml.in1
2 files changed, 8 insertions, 4 deletions
diff --git a/binding/bluetooth-util.c b/binding/bluetooth-util.c
index f07e5ed..a70de5d 100644
--- a/binding/bluetooth-util.c
+++ b/binding/bluetooth-util.c
@@ -68,7 +68,8 @@ int str2boolean(const char *value)
json_object *json_object_copy(json_object *jval)
{
json_object *jobj;
- int i, len;
+ size_t len;
+ int i;
/* handle NULL */
if (!jval)
@@ -682,7 +683,8 @@ GVariant *property_json_to_gvariant(
double d;
const char *jvalstr, *str;
char c;
- int i, len;
+ size_t len;
+ int i;
gboolean is_config;
if (!fmt)
@@ -922,7 +924,8 @@ GVariant *property_json_to_gvariant(
json_object *get_property_collect(json_object *jreqprop, json_object *jprop,
GError **error)
{
- int i, len;
+ size_t len;
+ int i;
json_object *jkey, *jval, *jobj = NULL, *jobjval;
const char *key;
@@ -1067,7 +1070,7 @@ gchar *return_bluez_path(afb_req_t request) {
gchar **json_array_to_strv(json_object *jobj)
{
- int len = json_object_array_length(jobj);
+ size_t len = json_object_array_length(jobj);
gchar **val = g_malloc0(sizeof(gchar *) * (len + 1));
int i;
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
index 4814329..bee3471 100644
--- a/conf.d/wgt/config.xml.in
+++ b/conf.d/wgt/config.xml.in
@@ -11,6 +11,7 @@
<param name="urn:AGL:permission::public:hidden" value="required" />
<param name="urn:AGL:permission::public:no-htdocs" value="required" />
<param name="urn:AGL:permission::system:run-by-default" value="required" />
+ <param name="urn:AGL:permission::partner:scope-platform" value="required" />
<param name="http://tizen.org/privilege/internal/dbus" value="required" />
</feature>