diff --git a/src/profile.c b/src/profile.c
index 7555c8c..187dae6 100644
--- a/src/profile.c
+++ b/src/profile.c
bool resolving;
btd_profile_cb cb;
- uint16_t rec_handle;
+ uint32_t rec_handle;
guint auth_id;
DBusPendingCall *new_conn;
return NULL;
}
-static uint16_t ext_register_record(struct ext_profile *ext,
+static uint32_t ext_register_record(struct ext_profile *ext,
const bdaddr_t *src)
{
sdp_record_t *rec;
BtIOConfirm confirm;
BtIOConnect connect;
GError *err = NULL;
- uint16_t handle;
+ uint32_t handle;
GIOChannel *io;
handle = ext_register_record(ext, adapter_get_address(adapter));