From 6f4bdbef1ec5decd78166ce94180835d894123dc Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 02:27:58 -0300 Subject: [PATCH] plugins: 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. --- 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 bd0fbffa9..37972e826 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; -- 2.11.0