From cfb680f0660169fe231c575cb2a0c7f72826f4f4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 9 Mar 2005 17:27:17 +0000 Subject: Use uint32_t instead of long --- sdpd/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdpd/request.c') diff --git a/sdpd/request.c b/sdpd/request.c index dbb3ff37..6a62e55f 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) { -- cgit