diff tests/plrtest.c @ 2586:9807ae37ad69

Require stdbool.h, we require C11 now.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Dec 2022 15:59:22 +0200
parents aacf3bd1cceb
children
line wrap: on
line diff
--- a/tests/plrtest.c	Thu Dec 08 15:56:36 2022 +0200
+++ b/tests/plrtest.c	Thu Dec 08 15:59:22 2022 +0200
@@ -138,10 +138,10 @@
     {
         printf("* Trying XM...\n");
         dmfreset(file);
-        if ((res = jssLoadXM(file, &mod, TRUE)) == DMERR_OK)
+        if ((res = jssLoadXM(file, &mod, true)) == DMERR_OK)
         {
             dmfreset(file);
-            res = jssLoadXM(file, &mod, FALSE);
+            res = jssLoadXM(file, &mod, false);
         }
     }
 #endif
@@ -150,10 +150,10 @@
     {
         printf("* Trying JSSMOD ...\n");
         dmfreset(file);
-        if ((res = jssLoadJSSMOD(file, &mod, TRUE)) == DMERR_OK)
+        if ((res = jssLoadJSSMOD(file, &mod, true)) == DMERR_OK)
         {
             dmfreset(file);
-            res = jssLoadJSSMOD(file, &mod, FALSE);
+            res = jssLoadJSSMOD(file, &mod, false);
         }
     }
 #endif
@@ -237,7 +237,7 @@
     SDL_LockAudio();
     SDL_PauseAudio(0);
     SDL_UnlockAudio();
-    BOOL playing = TRUE;
+    bool playing = true;
     while (playing)
     {
         JSSPattern *pattern = NULL;