OSDN Git Service

audio: Get rid of gint
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 1 May 2013 05:27:59 +0000 (02:27 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 1 May 2013 06:08:56 +0000 (09:08 +0300)
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

index 59fc840..4c23960 100644 (file)
@@ -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;