Wsign-compare: Fixed all sign compare warnings in src

This commit addresses all warnings emitted from -Wunused-function
in the C++ src.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-11-02 22:26:41 -07:00
parent 1dd5cbb445
commit ae9b8fb13e
15 changed files with 28 additions and 27 deletions

View File

@ -183,7 +183,7 @@ bool VCAP::setResolution(int width, int height)
}
// G_FMT will have adjusted these if neccessary, so verify
if (m_format.fmt.pix.width != m_width)
if (static_cast<int>(m_format.fmt.pix.width) != m_width)
{
if (m_debugging)
cerr << __FUNCTION__ << ": Warning: Selected width "
@ -195,7 +195,7 @@ bool VCAP::setResolution(int width, int height)
m_width = m_format.fmt.pix.width;
}
if (m_format.fmt.pix.height != m_height)
if (static_cast<int>(m_format.fmt.pix.height) != m_height)
{
if (m_debugging)
cerr << __FUNCTION__ << ": Warning: Selected height "