summaryrefslogtreecommitdiffstats
path: root/src/sdpd-request.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-10-14 17:11:56 -0300
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-10-14 17:11:56 -0300
commit948e66f85e25b39cb839c38a03fc6a17896a6395 (patch)
tree4e59190e40f8f489525052efb4f5dc95280d3092 /src/sdpd-request.c
parent2e8e3f8cd8b288f3679dae3bc7d948d112e64f9f (diff)
Fix build error when SDP_DEBUG is enabled
Diffstat (limited to 'src/sdpd-request.c')
-rw-r--r--src/sdpd-request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index 3d82d51d..ed183980 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
@@ -209,7 +209,7 @@ static int sdp_set_cstate_pdu(sdp_buf_t *buf, sdp_cont_state_t *cstate)
int length = 0;
if (cstate) {
- SDPDBG("Non null sdp_cstate_t id : 0x%lx", cstate->timestamp);
+ SDPDBG("Non null sdp_cstate_t id : 0x%x", cstate->timestamp);
*(uint8_t *)pdata = sizeof(sdp_cont_state_t);
pdata += sizeof(uint8_t);
length += sizeof(uint8_t);
@@ -242,7 +242,7 @@ static sdp_cont_state_t *sdp_cstate_get(uint8_t *buffer)
if (!cstate)
return NULL;
memcpy(cstate, (sdp_cont_state_t *)pdata, sizeof(sdp_cont_state_t));
- SDPDBG("Cstate TS : 0x%lx", cstate->timestamp);
+ SDPDBG("Cstate TS : 0x%x", cstate->timestamp);
SDPDBG("Bytes sent : %d", cstate->cStateValue.maxBytesSent);
return cstate;
}