From f5e33ec9b758c72a064eb3c0b75ec4903662427e Mon Sep 17 00:00:00 2001 From: Eliot Miranda Date: Tue, 2 Apr 2019 18:04:17 -0700 Subject: [PATCH] Make user_data a pointer sized field so that in 64 bits it can contain a pointer if desired. --- include/speex/speex_jitter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/speex/speex_jitter.h b/include/speex/speex_jitter.h index 8fc8d7ec..49293075 100644 --- a/include/speex/speex_jitter.h +++ b/include/speex/speex_jitter.h @@ -63,7 +63,7 @@ struct _JitterBufferPacket { spx_uint32_t timestamp; /**< Timestamp for the packet */ spx_uint32_t span; /**< Time covered by the packet (same units as timestamp) */ spx_uint16_t sequence; /**< RTP Sequence number if available (0 otherwise) */ - spx_uint32_t user_data; /**< Put whatever data you like here (it's ignored by the jitter buffer) */ + uintptr_t user_data; /**< Put whatever data you like here (it's ignored by the jitter buffer) */ }; /** Packet has been retrieved */