mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
rtsp-client: Make old compilers happy
rtsp-client.c:2553:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] Just in case that guint8 doesn't fit in a pointer. Just in case ...
This commit is contained in:
parent
23b9d8fbb0
commit
980553547d
1 changed files with 2 additions and 1 deletions
|
@ -2550,7 +2550,8 @@ handle_data (GstRTSPClient * client, GstRTSPMessage * message)
|
|||
|
||||
buffer = gst_buffer_new_wrapped (data, size);
|
||||
|
||||
trans = g_hash_table_lookup (priv->transports, GINT_TO_POINTER (channel));
|
||||
trans =
|
||||
g_hash_table_lookup (priv->transports, GINT_TO_POINTER ((gint) channel));
|
||||
if (trans) {
|
||||
/* dispatch to the stream based on the channel number */
|
||||
gst_rtsp_stream_transport_recv_data (trans, channel, buffer);
|
||||
|
|
Loading…
Reference in a new issue