Build: Resolve some more compiler warnings

This commit is contained in:
Paul Beckingham 2015-03-29 18:03:36 -04:00
parent 73f4f55e0a
commit 690d9493f0
7 changed files with 3 additions and 37 deletions

View file

@ -113,7 +113,7 @@ int main (int argc, char** argv)
unsetenv ("TASKRC");
// Positive tests.
for (int i = 0; i < NUM_POSITIVE_TESTS; ++i)
for (unsigned int i = 0; i < NUM_POSITIVE_TESTS; ++i)
{
try
{
@ -131,7 +131,7 @@ int main (int argc, char** argv)
}
// Negative tests.
for (int i = 0; i < NUM_NEGATIVE_TESTS; ++i)
for (unsigned int i = 0; i < NUM_NEGATIVE_TESTS; ++i)
{
try
{

View file

@ -377,7 +377,7 @@ int main (int argc, char** argv)
};
#define NUM_TESTS (sizeof (lexerTests) / sizeof (lexerTests[0]))
for (int i = 0; i < NUM_TESTS; i++)
for (unsigned int i = 0; i < NUM_TESTS; i++)
{
// The isolated test puts the input string directly into the Lexer.
Lexer isolated (lexerTests[i].input);