From 733508262b29b8627b23e32a7ee0eef8a8f4c887 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");