Fix -Wsign-compare warning in new test
This commit fixes a sign comparison warning in a new libstdc++ test case.
A new test case added to libstdc++ triggered a -Wsign-compare warning. This commit adjusts the code to avoid the warning, improving code quality and preventing potential issues arising from implicit type conversions.
In Details
This commit addresses a -Wsign-compare warning in a new libstdc++ test case. This involves adjusting the code to avoid implicit type conversions between signed and unsigned integers during comparison operations.
For Context
This commit addresses a warning in the GCC compiler related to comparing signed and unsigned integer types. The -Wsign-compare flag detects these comparisons, which can lead to unexpected behavior due to implicit conversions. Fixing such warnings promotes safer and more predictable code execution.