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. --- plugins/gatt-example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c index bd0fbff..37972e8 100644 --- a/plugins/gatt-example.c +++ b/plugins/gatt-example.c @@ -83,7 +83,7 @@ static void gatt_example_adapter_free(struct gatt_example_adapter *gadapter) g_free(gadapter); } -static gint adapter_cmp(gconstpointer a, gconstpointer b) +static int adapter_cmp(gconstpointer a, gconstpointer b) { const struct gatt_example_adapter *gatt_adapter = a; const struct btd_adapter *adapter = 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