summaryrefslogtreecommitdiff
path: root/sdpd/request.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-03-09 17:27:17 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-03-09 17:27:17 +0000
commitcfb680f0660169fe231c575cb2a0c7f72826f4f4 (patch)
tree1c58d798e1bb56513c5fd40b90a264250a83e34c /sdpd/request.c
parent210da6834b4b6f219b0331cddacdd6e915dbb8fe (diff)
downloadbluez-cfb680f0660169fe231c575cb2a0c7f72826f4f4.tar.gz
Use uint32_t instead of long
Diffstat (limited to 'sdpd/request.c')
-rw-r--r--sdpd/request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdpd/request.c b/sdpd/request.c
index dbb3ff37d..6a62e55f7 100644
--- a/sdpd/request.c
+++ b/sdpd/request.c
@@ -238,7 +238,7 @@ static int service_search_req(sdp_req_t *req, sdp_buf_t *buf)
sdp_cont_state_t *cstate = NULL;
char *pCacheBuffer = NULL;
int handleSize = 0;
- long cStateId = -1;
+ uint32_t cStateId = 0;
short rsp_count = 0;
short *pTotalRecordCount, *pCurrentRecordCount;
int mtu;
@@ -331,7 +331,7 @@ static int service_search_req(sdp_req_t *req, sdp_buf_t *buf)
}
/* under both the conditions below, the rsp buffer is not built yet */
- if (cstate || cStateId != -1) {
+ if (cstate || cStateId > 0) {
short lastIndex = 0;
if (cstate) {