Commit 4192d1a1c71dc70f9ebc69d3280253437ccefbde

Sylvain 2022-11-16T21:56:19

Fix compilation. It needs to be casted to 'int' type

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testautomation_render.c b/test/testautomation_render.c
index 50142f2..0117334 100644
--- a/test/testautomation_render.c
+++ b/test/testautomation_render.c
@@ -53,7 +53,7 @@ void InitCreateRenderer(void *arg)
 
   renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
   SDLTest_AssertPass("SDL_CreateRenderer()");
-  SDLTest_AssertCheck(renderer, "Check SDL_CreateRenderer result");
+  SDLTest_AssertCheck(renderer != 0, "Check SDL_CreateRenderer result");
   if (renderer == NULL) {
       SDL_DestroyWindow(window);
       return;