Skip to content

Commit

Permalink
HYDRA-843 : Use int for iArg to fix warning on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
debloip-adsk committed Mar 4, 2024
1 parent 1a5727d commit 2dcf9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ TEST(TestPicking, marqueeSelect)
ASSERT_TRUE(argc % 2 == 0); // Each object is identified by both its name and a type
ASSERT_TRUE(argc >= 4); // We need at least two objects to do the marquee selection
std::vector<std::pair<std::string, TfToken>> objectsToSelect;
for (size_t iArg = 0; iArg < argc; iArg += 2) {
for (int iArg = 0; iArg < argc; iArg += 2) {
objectsToSelect.push_back(std::make_pair(std::string(argv[iArg]), TfToken(argv[iArg + 1])));
}

Expand Down

0 comments on commit 2dcf9ab

Please sign in to comment.