diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2005-07-06 00:12:58 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2005-07-06 00:12:58 +0000 | 
| commit | e2a54220b404119a2516a3cac5edc5b2bcf6089a (patch) | |
| tree | 82891ce4193f2570b6b06c180227c865611d1b75 /sdpd/service.c | |
| parent | e063c0ede09c386be3a5fb579f3cdf75f5826493 (diff) | |
Fix more GCC 4.0 warnings
Diffstat (limited to 'sdpd/service.c')
| -rw-r--r-- | sdpd/service.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/sdpd/service.c b/sdpd/service.c index f2457e1f..843371ea 100644 --- a/sdpd/service.c +++ b/sdpd/service.c @@ -46,7 +46,7 @@  extern void update_db_timestamp(void);  // FIXME: refactor for server-side -static sdp_record_t *extract_pdu_server(char *p, uint32_t handleExpected, int *scanned) +static sdp_record_t *extract_pdu_server(uint8_t *p, uint32_t handleExpected, int *scanned)  {  	int extractStatus = -1, localExtractedLength = 0;  	uint8_t dtd; @@ -129,7 +129,7 @@ int service_register_req(sdp_req_t *req, sdp_buf_t *rsp)  {  	int scanned = 0;  	sdp_data_t *handle; -	char *p = req->buf + sizeof(sdp_pdu_hdr_t); +	uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);  	sdp_record_t *rec;  	req->flags = *p++; @@ -175,7 +175,7 @@ int service_update_req(sdp_req_t *req, sdp_buf_t *rsp)  {  	sdp_record_t *orec;  	int status = 0, scanned = 0; -	char *p = req->buf + sizeof(sdp_pdu_hdr_t); +	uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);  	uint32_t handle = ntohl(sdp_get_unaligned((uint32_t *)p));  	SDPDBG(""); @@ -217,7 +217,7 @@ int service_update_req(sdp_req_t *req, sdp_buf_t *rsp)   */  int service_remove_req(sdp_req_t *req, sdp_buf_t *rsp)  { -	char *p = req->buf + sizeof(sdp_pdu_hdr_t); +	uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);  	uint32_t handle = ntohl(sdp_get_unaligned((uint32_t *)p));  	sdp_record_t *rec;  	int status = 0;  | 
