suppress some warnings
This commit is contained in:
@@ -42,7 +42,7 @@ int main(int argc, char** argv)
|
||||
|
||||
if (shouldExit) return 0;
|
||||
|
||||
if (selectedExample >= examples.size())
|
||||
if (static_cast<size_t>(selectedExample) >= examples.size())
|
||||
{
|
||||
throw std::runtime_error("Invalid menu selection!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user