summaryrefslogtreecommitdiffstats
path: root/sdpd/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-06 00:12:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-06 00:12:58 +0000
commite2a54220b404119a2516a3cac5edc5b2bcf6089a (patch)
tree82891ce4193f2570b6b06c180227c865611d1b75 /sdpd/main.c
parente063c0ede09c386be3a5fb579f3cdf75f5826493 (diff)
Fix more GCC 4.0 warnings
Diffstat (limited to 'sdpd/main.c')
-rw-r--r--sdpd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdpd/main.c b/sdpd/main.c
index b80fc0bb..51accc9a 100644
--- a/sdpd/main.c
+++ b/sdpd/main.c
@@ -313,7 +313,7 @@ static int become_daemon(void)
return 1;
}
-static inline void handle_request(int sk, char *data, int len)
+static inline void handle_request(int sk, uint8_t *data, int len)
{
struct sockaddr_l2 sa;
socklen_t size;
@@ -357,7 +357,7 @@ static void check_active(fd_set *mask, int num)
{
sdp_pdu_hdr_t hdr;
int size, fd, count, r;
- char *buf;
+ uint8_t *buf;
for (fd = 0, count = 0; fd <= active_maxfd && count < num; fd++) {
if (fd == l2cap_sock || fd == unix_sock || !FD_ISSET(fd, mask))