@@ -82,7 +82,7 @@ static void printDotGraph(const std::vector<Node*> nodes, const std::string& fil
out << " labeljust = \"l\"\n";
out << "]\n";
- for (int i = 0; i < nodes.size(); ++i)
+ for (unsigned i = 0; i < nodes.size(); ++i)
{
Node* N = nodes[i];
@@ -2335,7 +2335,7 @@ HRESULT DxilLibraryReflection::GetDesc(D3D12_LIBRARY_DESC * pDesc) {
_Use_decl_annotations_
ID3D12FunctionReflection *DxilLibraryReflection::GetFunctionByIndex(INT FunctionIndex) {
- if (FunctionIndex >= m_FunctionVector.size())
+ if ((UINT)FunctionIndex >= m_FunctionVector.size())
return &g_InvalidFunction;
return m_FunctionVector[FunctionIndex];
}