From 2c07233a8d0e5debcbfebc6599046ed7069e7b49 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 02:28:06 -0300 Subject: [PATCH] scanparam: Get rid of gint Use plain int instead of gint. In glib gint is always a typedef to int, so it's safe to use it even for callbacks with glib. --- profiles/scanparam/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/scanparam/scan.c b/profiles/scanparam/scan.c index dbbb4eaf4..a9baec89c 100644 --- a/profiles/scanparam/scan.c +++ b/profiles/scanparam/scan.c @@ -66,7 +66,7 @@ struct scan { static GSList *servers = NULL; -static gint scan_device_cmp(gconstpointer a, gconstpointer b) +static int scan_device_cmp(gconstpointer a, gconstpointer b) { const struct scan *scan = a; const struct btd_device *device = b; -- 2.47.3