From 55aad6d0ed633f9a8d47a2fa23619e6ce6b21997 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 21 Sep 2015 16:33:36 +0300 Subject: [PATCH] core/gatt: Fix assigning false instead of 0 write_id type is unsigned int not boolean. --- src/gatt-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gatt-client.c b/src/gatt-client.c index 86aef7976..c6885675c 100644 --- a/src/gatt-client.c +++ b/src/gatt-client.c @@ -520,7 +520,7 @@ static bool desc_write_complete(void *data) { struct descriptor *desc = data; - desc->write_id = false; + desc->write_id = 0; /* * The descriptor might have been unregistered during the read. Return @@ -874,7 +874,7 @@ static bool chrc_write_complete(void *data) { struct characteristic *chrc = data; - chrc->write_id = false; + chrc->write_id = 0; /* * The characteristic might have been unregistered during the read. -- 2.47.3