summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCheoleun Moon <chleun.moon@samsung.com>2020-04-01 15:33:17 +0900
committerCheoleun Moon <chleun.moon@samsung.com>2020-04-01 15:33:17 +0900
commitdc15de5dbee493c4e64746f7b677c6b8d79d2d61 (patch)
tree5a2543b385fb986ae8a6e9f4ff4587c46d029370 /src
parent0fa692efef1e26b48040418ac6968e78471812e0 (diff)
downloadwifi-aware-dc15de5dbee493c4e64746f7b677c6b8d79d2d61.tar.gz
wifi-aware-dc15de5dbee493c4e64746f7b677c6b8d79d2d61.tar.bz2
wifi-aware-dc15de5dbee493c4e64746f7b677c6b8d79d2d61.zip
Fix dbus parameter type
Diffstat (limited to 'src')
-rw-r--r--src/wifi-aware-gdbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wifi-aware-gdbus.c b/src/wifi-aware-gdbus.c
index 91044a9..00f1640 100644
--- a/src/wifi-aware-gdbus.c
+++ b/src/wifi-aware-gdbus.c
@@ -334,7 +334,7 @@ static GVariant *__create_subscribe_request_param(int client_id, wifi_aware_subs
static GVariant *__create_cancel_subscribe_request_param(int client_id, uint16_t sub_id)
{
- return g_variant_new("(iu)", client_id, sub_id);
+ return g_variant_new("(iq)", client_id, sub_id);
}
static GVariant *__create_update_subscribe_request_param(int client_id,
@@ -356,7 +356,7 @@ static GVariant *__create_update_subscribe_request_param(int client_id,
g_variant_builder_add(builder, "{sv}", "match_filter", __pack_byte_array(req->match_filter, req->match_filter_len));
}
- params = g_variant_new("(iua{sv})", client_id, sub_id, builder);
+ params = g_variant_new("(iqa{sv})", client_id, sub_id, builder);
g_variant_builder_unref(builder);
return params;
}