summaryrefslogtreecommitdiff
path: root/profiles/scanparam
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2013-05-01 02:28:06 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-01 09:08:57 +0300
commit2c07233a8d0e5debcbfebc6599046ed7069e7b49 (patch)
tree90927e7d6d869c20a3857e2f8192cc35e2aff653 /profiles/scanparam
parentf81021d0866a7e60b9ae7b6142966c9c61088583 (diff)
downloadbluez-2c07233a8d0e5debcbfebc6599046ed7069e7b49.tar.gz
scanparam: 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.
Diffstat (limited to 'profiles/scanparam')
-rw-r--r--profiles/scanparam/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/scanparam/scan.c b/profiles/scanparam/scan.c
index dbbb4eaf4..a9baec89c 100644
--- a/profiles/scanparam/scan.c
+++ b/profiles/scanparam/scan.c
@@ -66,7 +66,7 @@ struct scan {
static GSList *servers = NULL;
-static gint scan_device_cmp(gconstpointer a, gconstpointer b)
+static int scan_device_cmp(gconstpointer a, gconstpointer b)
{
const struct scan *scan = a;
const struct btd_device *device = b;