[PATCH 2/5] hdp_types: Fix unappropiated field type for dbus watcher id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This value is provided by g_dbus_add_disconnect_watch wich provides
an unsigned type, not an integer one.
---
 health/hdp_types.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/health/hdp_types.h b/health/hdp_types.h
index eecc138..9a6776f 100644
--- a/health/hdp_types.h
+++ b/health/hdp_types.h
@@ -81,7 +81,7 @@ struct hdp_application {
 	char			*description;	/* Options description for SDP record */
 	uint8_t			id;		/* The identification is also the mdepid */
 	char			*oname;		/* Name of the owner application */
-	int			dbus_watcher;	/* Watch for clients disconnection */
+	guint			dbus_watcher;	/* Watch for clients disconnection */
 	gint			ref;		/* Reference counter */
 };
 
-- 
1.7.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux