From 394536bd135dd5f9fac211c391ce2e1a04bda6da Mon Sep 17 00:00:00 2001
From: Alexey Yakovenko <wakeroid@gmail.com>
Date: Wed, 9 May 2018 10:28:13 +0200
Subject: [PATCH] adplug: fix -Wnarrowing warning

---
 plugins/adplug/adplug/s3m.cpp | 2 +-
 plugins/adplug/adplug/s3m.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/adplug/adplug/s3m.cpp b/plugins/adplug/adplug/s3m.cpp
index 173a75635..b57b9cf0c 100644
--- a/plugins/adplug/adplug/s3m.cpp
+++ b/plugins/adplug/adplug/s3m.cpp
@@ -26,7 +26,7 @@
 #include <string.h>
 #include "s3m.h"
 
-const char Cs3mPlayer::chnresolv[] =	// S3M -> adlib channel conversion
+const int8_t Cs3mPlayer::chnresolv[] =	// S3M -> adlib channel conversion
   {-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};
 
 const unsigned short Cs3mPlayer::notetable[12] =		// S3M adlib note table
diff --git a/plugins/adplug/adplug/s3m.h b/plugins/adplug/adplug/s3m.h
index cf58c44b9..708c635b9 100644
--- a/plugins/adplug/adplug/s3m.h
+++ b/plugins/adplug/adplug/s3m.h
@@ -92,7 +92,7 @@ class Cs3mPlayer: public CPlayer
   char filetype[30];
 
  private:
-  static const char chnresolv[];
+  static const int8_t chnresolv[];
   static const unsigned short notetable[12];
   static const unsigned char vibratotab[32];
 
