shithub: dumb

Download patch

ref: ef707958359b91d9cc34a29f4f5328a069a4c1ce
parent: 97d608f147c66bb92800c33acda97b4b9df6ff67
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Fri Mar 5 02:24:03 EST 2021

mod: fix comparison (thanks umbraticus)

--- a/src/it/readmod.c
+++ b/src/it/readmod.c
@@ -527,7 +527,7 @@
         }
     } else {
         for (i = 0; i < 128; i++) {
-            if (sigdata->order[i] > sigdata->n_patterns)
+            if ((int)sigdata->order[i] > sigdata->n_patterns)
                 sigdata->n_patterns = sigdata->order[i];
         }
         sigdata->n_patterns++;