diff options
author | Johannes Schickel | 2013-01-09 07:01:55 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-09 07:24:37 +0100 |
commit | cc0b8594ce402d7aae25a284381805216c615c39 (patch) | |
tree | 8f5726020ea643479d609eb5f7e94784cc4ee801 /audio/softsynth | |
parent | 0e3f8d68c45c5208ace3439ba6859a30bc90c3ac (diff) | |
download | scummvm-rg350-cc0b8594ce402d7aae25a284381805216c615c39.tar.gz scummvm-rg350-cc0b8594ce402d7aae25a284381805216c615c39.tar.bz2 scummvm-rg350-cc0b8594ce402d7aae25a284381805216c615c39.zip |
AUDIO: Silence C++11 narrowing warnings.
Diffstat (limited to 'audio/softsynth')
-rw-r--r-- | audio/softsynth/opl/mame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/opl/mame.cpp b/audio/softsynth/opl/mame.cpp index c54f620a10..2db7d421b6 100644 --- a/audio/softsynth/opl/mame.cpp +++ b/audio/softsynth/opl/mame.cpp @@ -223,7 +223,7 @@ static int *ENV_CURVE; /* multiple table */ -#define ML(a) (int)(a * 2) +#define ML(a) (uint)(a * 2) static const uint MUL_TABLE[16]= { /* 1/2, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15 */ ML(0.50), ML(1.00), ML(2.00), ML(3.00), ML(4.00), ML(5.00), ML(6.00), ML(7.00), |