rtcpbuffer: fix left shift override

Needs to be cast to the target type
This commit is contained in:
Edward Hervey 2017-11-04 16:56:10 +01:00 committed by Edward Hervey
parent 9a8cb29970
commit ae865ec1d1

View file

@ -993,7 +993,8 @@ gst_rtcp_packet_add_rb (GstRTCPPacket * packet, guint32 ssrc,
GST_WRITE_UINT32_BE (data, ssrc);
data += 4;
GST_WRITE_UINT32_BE (data, (fractionlost << 24) | (packetslost & 0xffffff));
GST_WRITE_UINT32_BE (data,
((guint32) fractionlost << 24) | (packetslost & 0xffffff));
data += 4;
GST_WRITE_UINT32_BE (data, exthighestseq);
data += 4;