Linus Walleij b1c9e5c
diff -ur adplug-2.2.1-orig/src/s3m.cpp adplug-2.2.1/src/s3m.cpp
Linus Walleij b1c9e5c
--- adplug-2.2.1-orig/src/s3m.cpp	2016-06-12 17:19:33.369934280 +0200
Linus Walleij b1c9e5c
+++ adplug-2.2.1/src/s3m.cpp	2016-06-12 17:32:36.190932642 +0200
fa59ad2
@@ -25,7 +25,7 @@
fa59ad2
 #include <cstring>
fa59ad2
 #include "s3m.h"
fa59ad2
 
fa59ad2
-const char Cs3mPlayer::chnresolv[] =	// S3M -> adlib channel conversion
fa59ad2
+const signed char Cs3mPlayer::chnresolv[] =	// S3M -> adlib channel conversion
fa59ad2
   {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1};
fa59ad2
 
fa59ad2
 const unsigned short Cs3mPlayer::notetable[12] =		// S3M adlib note table
Linus Walleij b1c9e5c
diff -ur adplug-2.2.1-orig/src/s3m.h adplug-2.2.1/src/s3m.h
Linus Walleij b1c9e5c
--- adplug-2.2.1-orig/src/s3m.h	2016-06-12 17:19:33.367934293 +0200
Linus Walleij b1c9e5c
+++ adplug-2.2.1/src/s3m.h	2016-06-12 17:37:14.538154102 +0200
Linus Walleij b1c9e5c
@@ -90,7 +90,7 @@
fa59ad2
   unsigned char crow,ord,speed,tempo,del,songend,loopstart,loopcnt;
fa59ad2
 
fa59ad2
  private:
fa59ad2
-  static const char chnresolv[];
fa59ad2
+  static const signed char chnresolv[];
fa59ad2
   static const unsigned short notetable[12];
fa59ad2
   static const unsigned char vibratotab[32];
fa59ad2