ui64_t position = m_ClipEssenceBegin + offset;
Result_t result = RESULT_OK;
- if ( m_File.Tell() != position )
+ if ( m_File.Tell() != static_cast<Kumu::fpos_t>(position) )
{
result = m_File.Seek(position);
}
// get absolute frame position and go read the frame's key and length
Result_t result = RESULT_OK;
- if ( TmpEntry.StreamOffset != m_LastPosition )
+ if ( static_cast<Kumu::fpos_t>(TmpEntry.StreamOffset) != m_LastPosition )
{
m_LastPosition = TmpEntry.StreamOffset;
result = m_File.Seek(TmpEntry.StreamOffset);
if (lhs.Pcap != rhs.Pcap) return false;
- for (ui32_t i = 0; i < lhs.N; i++)
+ for (i32_t i = 0; i < lhs.N; i++)
{
if (lhs.Ccap[i] != rhs.Ccap[i])
return false;
{
Entry.CreateStringWithOptions(buf, m_options);
ssize_t n = write(m_fd, buf.c_str(), buf.size());
- assert(n==buf.size());
+ assert(n==static_cast<ssize_t>(buf.size()));
}
}
std::string tmp_str;
char tmp_buf[64];
- for ( int i = 0; i < RGBAValueLength && m_value[i] != 0; i += 2 )
+ for ( size_t i = 0; i < RGBAValueLength && m_value[i] != 0; i += 2 )
{
snprintf(tmp_buf, 64, "%c(%d)", get_char_for_code(m_value[i]), m_value[i+1]);
if ( Pcap != 0 && buf_len > str_len )
{
- for ( int i = 0; i < Ccap.size(); ++i )
+ for ( size_t i = 0; i < Ccap.size(); ++i )
{
snprintf(str_buf+(i*3), 4, "%02hx.", Ccap[i].value);
}