Diff between 83a0806cbe4e4e3d6fa1283afdd368c62341146a and f73959c6fa2714998ad215dc961c930cd96c5928

Changed Files

File Additions Deletions Status
profiles/heartrate/heartrate.c +3 -3 modified

Full Patch

diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c
index 3a2d419..8de81bb 100644
--- a/profiles/heartrate/heartrate.c
+++ b/profiles/heartrate/heartrate.c
@@ -115,7 +115,7 @@ static const char *location2str(uint8_t value)
 	return NULL;
 }
 
-static gint cmp_adapter(gconstpointer a, gconstpointer b)
+static int cmp_adapter(gconstpointer a, gconstpointer b)
 {
 	const struct heartrate_adapter *hradapter = a;
 	const struct btd_adapter *adapter = b;
@@ -126,7 +126,7 @@ static gint cmp_adapter(gconstpointer a, gconstpointer b)
 	return -1;
 }
 
-static gint cmp_device(gconstpointer a, gconstpointer b)
+static int cmp_device(gconstpointer a, gconstpointer b)
 {
 	const struct heartrate *hr = a;
 	const struct btd_device *dev = b;
@@ -137,7 +137,7 @@ static gint cmp_device(gconstpointer a, gconstpointer b)
 	return -1;
 }
 
-static gint cmp_watcher(gconstpointer a, gconstpointer b)
+static int cmp_watcher(gconstpointer a, gconstpointer b)
 {
 	const struct watcher *watcher = a;
 	const struct watcher *match = b;