OSDN Git Service

Use proper type for oob variable in register_agent.
authorNicu Pavel <npavel@mini-box.com>
Thu, 5 May 2011 10:11:12 +0000 (13:11 +0300)
committerNicu Pavel <npavel@mini-box.com>
Thu, 5 May 2011 10:11:12 +0000 (13:11 +0300)
Without this change the BluetoothEventLoop crashes on my armv5 arch board.

Change-Id: Ia10382f0aea4736be268512ccf9d5c5cde052851

core/jni/android_server_BluetoothEventLoop.cpp

index d8e049d..de003df 100644 (file)
@@ -311,7 +311,7 @@ static int register_agent(native_data_t *nat,
 {
     DBusMessage *msg, *reply;
     DBusError err;
-    bool oob = TRUE;
+    dbus_bool_t oob = TRUE;
 
     if (!dbus_connection_register_object_path(nat->conn, agent_path,
             &agent_vtable, nat)) {