From 20bacbd7354c3a21a9f8fd73f6b84ce4b1e11b5d Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 02:28:01 -0300 Subject: [PATCH] deviceinfo: 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/deviceinfo/deviceinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c index fc8babd44..e8cb5f748 100644 --- a/profiles/deviceinfo/deviceinfo.c +++ b/profiles/deviceinfo/deviceinfo.c @@ -75,7 +75,7 @@ static void deviceinfo_free(gpointer user_data) g_free(d); } -static gint cmp_device(gconstpointer a, gconstpointer b) +static int cmp_device(gconstpointer a, gconstpointer b) { const struct deviceinfo *d = a; const struct btd_device *dev = b; -- 2.47.3