Skip to content

Commit

Permalink
Fix MSVC error
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Feb 5, 2024
1 parent 162f2b7 commit 32e2136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imnodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ inline void AppendDrawData(ImDrawList* src, ImVec2 origin, float scale)
}
for (int i = 0, c = src->IdxBuffer.size(); i < c; ++i)
{
dl->_IdxWritePtr[i] = idx_read[i] + vtx_start;
dl->_IdxWritePtr[i] = idx_read[i] + (ImDrawIdx)vtx_start;
}
for (int i = 0, c = src->CmdBuffer.size(); i < c; ++i)
{
Expand Down

0 comments on commit 32e2136

Please sign in to comment.