Diff between ad72eb58d0abdec001212fae9d911c2983939708 and ca87bc12aa33740e79af49c18bdfcf32b9870a71

Changed Files

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

Full Patch

diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c
index 6080f09..76be234 100644
--- a/profiles/cyclingspeed/cyclingspeed.c
+++ b/profiles/cyclingspeed/cyclingspeed.c
@@ -166,7 +166,7 @@ static int str2location(const char *location)
 	return -1;
 }
 
-static gint cmp_adapter(gconstpointer a, gconstpointer b)
+static int cmp_adapter(gconstpointer a, gconstpointer b)
 {
 	const struct csc_adapter *cadapter = a;
 	const struct btd_adapter *adapter = b;
@@ -177,7 +177,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 csc *csc = a;
 	const struct btd_device *dev = b;
@@ -188,7 +188,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;