Fix most ARM warnings

This commit is contained in:
Ryan Houdek
2013-07-05 19:56:15 -05:00
parent cdfd7905a0
commit 7d6b36bf73
6 changed files with 12 additions and 11 deletions

View File

@ -40,7 +40,7 @@ namespace DriverDetails
switch(m_vendor)
{
case VENDOR_QUALCOMM:
for (int a = 0; a < (sizeof(m_qualcommbugs) / sizeof(BugInfo)); ++a)
for (unsigned int a = 0; a < (sizeof(m_qualcommbugs) / sizeof(BugInfo)); ++a)
m_bugs[std::make_pair(m_vendor, m_qualcommbugs[a].m_bug)] = m_qualcommbugs[a];
break;
default:
@ -61,7 +61,7 @@ namespace DriverDetails
it->second.m_hasbug = true;
}
const bool HasBug(Bug bug)
bool HasBug(Bug bug)
{
auto it = m_bugs.find(std::make_pair(m_vendor, bug));
if (it == m_bugs.end())