OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f4bdbe
)
audio: Get rid of gint
author
Lucas De Marchi
<lucas.de.marchi@gmail.com>
Wed, 1 May 2013 05:27:59 +0000
(
02:27
-0300)
committer
Johan 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
patch
|
blob
|
history
diff --git
a/profiles/audio/media.c
b/profiles/audio/media.c
index
59fc840
..
4c23960
100644
(file)
--- 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
g
int 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;