test: forgot to change a variable. Fixes Bugzilla #3787.
diff --git a/test/testautomation_sdltest.c b/test/testautomation_sdltest.c
index 399faf6..979756a 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");