From d6abe697786744eca28a9c0da65b003ef761f82c Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Thu, 12 Mar 2015 12:26:45 +0100 Subject: [PATCH] profiles/network: Fix compilation error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CC profiles/network/bluetoothd-bnep.o profiles/network/bnep.c: In function ‘bnep_server_add’: profiles/network/bnep.c:633:22: error: initialization makes integer from pointer without a cast [-Werror] uint16_t rsp, dst = NULL; --- profiles/network/bnep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c index 3fe63f0bb..25de46c05 100644 --- a/profiles/network/bnep.c +++ b/profiles/network/bnep.c @@ -630,7 +630,7 @@ int bnep_server_add(int sk, char *bridge, char *iface, const bdaddr_t *addr, uint8_t *setup_data, int len) { int err; - uint16_t rsp, dst = NULL; + uint16_t rsp, dst; struct bnep_setup_conn_req *req = (void *) setup_data; /* Highest known Control command ID -- 2.47.3