OSDN Git Service

health: Use proper type for tid
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 19 Sep 2014 14:10:14 +0000 (16:10 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Sep 2014 18:31:13 +0000 (21:31 +0300)
tid holds glib source id and should be of guint type.

This fix following compilation error with musl:
  CC       profiles/health/bluetoothd-hdp.o
profiles/health/hdp.c:84:2: error: unknown type name 'uint'
  uint   tid;  /* echo timeout */
  ^

 Please enter the commit message for your changes. Lines starting

profiles/health/hdp.c

index d09bdd4..8ffcd91 100644 (file)
@@ -81,7 +81,7 @@ struct hdp_tmp_dc_data {
 struct hdp_echo_data {
        gboolean                echo_done;      /* Is a echo was already done */
        gpointer                buf;            /* echo packet sent */
-       uint                    tid;            /* echo timeout */
+       guint                   tid;            /* echo timeout */
 };
 
 static struct hdp_channel *hdp_channel_ref(struct hdp_channel *chan)