aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-10-20 18:32:26 +0300
committerWohlstand <admin@wohlnet.ru>2017-10-20 18:32:26 +0300
commitbbc1030752a15ef0ed65b207a833f5df0e99c7a3 (patch)
treee8d7fdf857b7b08038e6c528557b6f94e4076fe8 /src
parentb044509a0033a3c9102e4f4374cdb6f909a8dd28 (diff)
downloadlibADLMIDI-bbc1030752a15ef0ed65b207a833f5df0e99c7a3.tar.gz
libADLMIDI-bbc1030752a15ef0ed65b207a833f5df0e99c7a3.tar.bz2
libADLMIDI-bbc1030752a15ef0ed65b207a833f5df0e99c7a3.zip
Small fix of GCC warning in adlmidi_op3.cpp built without embedded banks
``` warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 ```
Diffstat (limited to 'src')
-rw-r--r--src/adlmidi_opl3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp
index d03b942..316c8e1 100644
--- a/src/adlmidi_opl3.cpp
+++ b/src/adlmidi_opl3.cpp
@@ -28,9 +28,9 @@
Dummy data which replaces adldata.cpp banks database
*/
-const struct adldata adl[]
+const struct adldata adl[] =
{
- {0, 0, 0, 0, 0, 0}
+ {0, 0, (unsigned char)'\0', (unsigned char)'\0', (unsigned char)'\0', 0}
};
const struct adlinsdata adlins[] =