mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Build: Resolve some more compiler warnings
This commit is contained in:
parent
73f4f55e0a
commit
690d9493f0
7 changed files with 3 additions and 37 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue