Fix the build error 26/63326/2
authorHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 23 Mar 2016 07:44:14 +0000 (16:44 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 23 Mar 2016 07:51:42 +0000 (16:51 +0900)
Change-Id: I69fbdcd286876c09eae95e42236066bd07fcfd57
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-api/bt-rfcomm-client.c

index b2e36e4..a641fb3 100755 (executable)
@@ -112,9 +112,10 @@ gint compare(gpointer *a, gpointer *b)
 gint compare_fd(gpointer *a, gpointer *b)
 {
        rfcomm_conn_info_t *node = (rfcomm_conn_info_t *)a;
-       int fd = (int )*b;
-       if (node->fd == fd)
+       int *fd = (int *)b;
+       if (node->fd == *fd)
                return 0;
+
        return 1;
 }
 static void __bt_free_conn(rfcomm_conn_info_t *conn)