From 2f458bfee403be6233960576d89844dd335c2dd5 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 02:28:02 -0300 Subject: [PATCH] gatt: 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/gatt/gas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c index 39e942101..2ed837fec 100644 --- a/profiles/gatt/gas.c +++ b/profiles/gatt/gas.c @@ -71,7 +71,7 @@ static void gas_free(struct gas *gas) g_free(gas); } -static gint cmp_device(gconstpointer a, gconstpointer b) +static int cmp_device(gconstpointer a, gconstpointer b) { const struct gas *gas = a; const struct btd_device *device = b; -- 2.47.3