summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-02-24 14:02:57 +0200
committerJussi Kukkonen <jussi.kukkonen@intel.com>2015-02-24 14:02:57 +0200
commitcce8b3b3c72576c245bc3fef59cefa7432c0f41f (patch)
treef70e76aff6589e36994e8250db066a8250dc57bc
parent481d51038ee351fc7fa34d29cf81c68f8bed4d4f (diff)
downloaddleyna-server-cce8b3b3c72576c245bc3fef59cefa7432c0f41f.tar.gz
[Props] Fix ChildCount property type
It's a uint32, not a signed int. Fixes #145.
-rw-r--r--libdleyna/server/props.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdleyna/server/props.c b/libdleyna/server/props.c
index fc26ec2..13e76b5 100644
--- a/libdleyna/server/props.c
+++ b/libdleyna/server/props.c
@@ -622,7 +622,7 @@ static void prv_add_variant_prop(GVariantBuilder *vb, const gchar *key,
void dls_props_add_child_count(GVariantBuilder *item_vb, gint value)
{
- prv_add_int_prop(item_vb, DLS_INTERFACE_PROP_CHILD_COUNT, value);
+ prv_add_uint_prop(item_vb, DLS_INTERFACE_PROP_CHILD_COUNT, value);
}
static void prv_add_bool_prop(GVariantBuilder *vb, const gchar *key,