Fix Travis CI sign-compare warning
EXPECT_* triggers sign compare error with literal 0 and unsigned Use 0u literal with size_tpull/2566/head
parent
7e8a3ec4cb
commit
72e18ed4aa
|
@ -76,7 +76,7 @@ TEST_F(ExporterTest, ProgressHandlerTest) {
|
||||||
TEST_F(ExporterTest, ExporterIdTest) {
|
TEST_F(ExporterTest, ExporterIdTest) {
|
||||||
Exporter exporter;
|
Exporter exporter;
|
||||||
size_t exportFormatCount = exporter.GetExportFormatCount();
|
size_t exportFormatCount = exporter.GetExportFormatCount();
|
||||||
EXPECT_NE(0, exportFormatCount) << "No registered exporters";
|
EXPECT_NE(0u, exportFormatCount) << "No registered exporters";
|
||||||
typedef std::map<std::string, const aiExportFormatDesc*> ExportIdMap;
|
typedef std::map<std::string, const aiExportFormatDesc*> ExportIdMap;
|
||||||
ExportIdMap exporterMap;
|
ExportIdMap exporterMap;
|
||||||
for (size_t i = 0; i < exportFormatCount; ++i)
|
for (size_t i = 0; i < exportFormatCount; ++i)
|
||||||
|
|
Loading…
Reference in New Issue