Blame SOURCES/0001-Device-Fix-ChildCount-property-type.patch

51e99a
From 00ca5e70e755954c510cb4e2e42a8a5a52a071c0 Mon Sep 17 00:00:00 2001
51e99a
From: Bastien Nocera <hadess@hadess.net>
51e99a
Date: Thu, 17 Jul 2014 17:52:13 +0200
51e99a
Subject: [PATCH] [Device] Fix ChildCount property type
51e99a
51e99a
It's a uint32, not a signed int.
51e99a
---
51e99a
 libdleyna/server/props.c | 2 +-
51e99a
 1 file changed, 1 insertion(+), 1 deletion(-)
51e99a
51e99a
diff --git a/libdleyna/server/props.c b/libdleyna/server/props.c
51e99a
index fc26ec2..13e76b5 100644
51e99a
--- a/libdleyna/server/props.c
51e99a
+++ b/libdleyna/server/props.c
51e99a
@@ -622,7 +622,7 @@ static void prv_add_variant_prop(GVariantBuilder *vb, const gchar *key,
51e99a
 
51e99a
 void dls_props_add_child_count(GVariantBuilder *item_vb, gint value)
51e99a
 {
51e99a
-	prv_add_int_prop(item_vb, DLS_INTERFACE_PROP_CHILD_COUNT, value);
51e99a
+	prv_add_uint_prop(item_vb, DLS_INTERFACE_PROP_CHILD_COUNT, value);
51e99a
 }
51e99a
 
51e99a
 static void prv_add_bool_prop(GVariantBuilder *vb, const gchar *key,
51e99a
-- 
51e99a
2.1.0
51e99a