From ad72eb58d0abdec001212fae9d911c2983939708 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 1 May 2013 02:27:59 -0300 Subject: [PATCH] audio: 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/audio/media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/media.c b/profiles/audio/media.c index 59fc8403e..4c23960ed 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -368,7 +368,7 @@ static gboolean select_configuration(struct media_endpoint *endpoint, return media_endpoint_async_call(msg, endpoint, cb, user_data, destroy); } -static gint transport_device_cmp(gconstpointer data, gconstpointer user_data) +static int transport_device_cmp(gconstpointer data, gconstpointer user_data) { struct media_transport *transport = (struct media_transport *) data; const struct audio_device *device = user_data; -- 2.47.3