All non-3rdparty warnings cleared.

This commit is contained in:
2019-01-14 22:20:04 -08:00
parent 5096b391de
commit c4bc9c5f2f
22 changed files with 184 additions and 184 deletions

View File

@@ -216,7 +216,7 @@ std::vector<KRResource *> KRResource::LoadObj(KRContext &context, const std::str
} else if(strcmp(szSymbol[0], "usemtl") == 0) {
// Use Material (usemtl)
if(pFace - pMaterialFaces > 1) {
*pMaterialFaces = pFace - pMaterialFaces - 1;
*pMaterialFaces = (int)(pFace - pMaterialFaces - 1);
pMaterialFaces = pFace++;
}
}
@@ -224,7 +224,7 @@ std::vector<KRResource *> KRResource::LoadObj(KRContext &context, const std::str
}
*pMaterialFaces = pFace - pMaterialFaces - 1;
*pMaterialFaces = (int)(pFace - pMaterialFaces - 1);
*pFace++ = 0;