From: Lucas De Marchi <lucas.de.marchi@xxxxxxxxx> 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 39e9421..2ed837f 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; -- 1.8.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html