From 846a9ab95eb01dc19c39ae4be13b9601ac67f131 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 29 Aug 2017 18:25:55 -0400 Subject: [PATCH] test: forgot to change a variable. Fixes Bugzilla #3787. --- test/testautomation_sdltest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_sdltest.c b/test/testautomation_sdltest.c index 399faf6de..979756adc 100644 --- a/test/testautomation_sdltest.c +++ b/test/testautomation_sdltest.c @@ -49,7 +49,7 @@ sdltest_generateRunSeed(void *arg) } /* Negative cases */ - for (j = -2; j <= 0; i++) { + for (j = -2; j <= 0; j++) { result = SDLTest_GenerateRunSeed((const int)j); SDLTest_AssertPass("Call to SDLTest_GenerateRunSeed()"); SDLTest_AssertCheck(result == NULL, "Verify returned value is not NULL");