From 948e66f85e25b39cb839c38a03fc6a17896a6395 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 14 Oct 2008 17:11:56 -0300 Subject: Fix build error when SDP_DEBUG is enabled --- src/sdpd-request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sdpd-request.c') 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; } -- cgit