[PATCH 1/5] technology: 32bits boolean should be used due to dbus in relevant places

Tomasz Bursztyka tomasz.bursztyka at linux.intel.com
Sun Sep 1 23:47:35 PDT 2013


---
 src/technology.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/technology.c b/src/technology.c
index b3adb86..3f11075 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -839,8 +839,8 @@ static DBusMessage *set_property(DBusConnection *conn,
 	DBG("property %s", name);
 
 	if (g_str_equal(name, "Tethering")) {
+		dbus_bool_t tethering;
 		int err;
-		bool tethering;
 
 		if (type != DBUS_TYPE_BOOLEAN)
 			return __connman_error_invalid_arguments(msg);
@@ -913,7 +913,7 @@ static DBusMessage *set_property(DBusConnection *conn,
 					&technology->tethering_passphrase);
 		}
 	} else if (g_str_equal(name, "Powered")) {
-		bool enable;
+		dbus_bool_t enable;
 
 		if (type != DBUS_TYPE_BOOLEAN)
 			return __connman_error_invalid_arguments(msg);
-- 
1.8.3.2




More information about the connman mailing list