From 2dcf9ab5da4750bd9a559c01ab2cddd2cbf35955 Mon Sep 17 00:00:00 2001 From: debloip Date: Mon, 4 Mar 2024 14:51:41 -0500 Subject: [PATCH] HYDRA-843 : Use int for iArg to fix warning on Linux --- test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp b/test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp index 14a84c4ec8..026c2e18ab 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp +++ b/test/lib/mayaUsd/render/mayaToHydra/cpp/testPicking.cpp @@ -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> 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]))); }