pleora: avoid compiler warning messages

This commit is contained in:
Joshua M. Doe
2020-02-06 13:36:47 -05:00
parent ec20592591
commit fc4c7887a3
3 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ uint32_t GstStreamingChannelSource::GetRequiredChunkSize() const
}
}
void GstStreamingChannelSource::SetKlvEnabled (gboolean enable)
void GstStreamingChannelSource::SetKlvEnabled (bool enable)
{
SetChunkEnable (KLV_CHUNKID, enable);
}
@@ -325,7 +325,7 @@ GByteArray * GstStreamingChannelSource::GetKlvByteArray (GstBuffer * buf)
break;
}
g_byte_array_append (byte_array, klv_data, klv_size);
g_byte_array_append (byte_array, klv_data, (guint)klv_size);
}
/* chunk length must be multiple of 4 bytes */