mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
gcc6 narrowing error
gcc6 narrowing error compiling for PowerPC archi
===
[ 51s] Cus428Midi.cc: At global scope:
[ 51s] Cus428Midi.cc:83:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
[ 51s] };
===
proposed patch as suggested in
https://gcc.gnu.org/gcc-6/porting_to.html
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
44f3750171
commit
70118f5f93
2 changed files with 94 additions and 94 deletions
|
|
@ -32,22 +32,22 @@ char Cus428Midi::KnobParam[] = {
|
|||
0x2A,
|
||||
0x29,
|
||||
0x28,
|
||||
-1,
|
||||
(char)-1,
|
||||
0x10,
|
||||
0x11,
|
||||
0x18,
|
||||
0x19,
|
||||
0x1A,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
0x2C,
|
||||
0x2D,
|
||||
0x2E,
|
||||
0x2F,
|
||||
-1,
|
||||
-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
0x20,
|
||||
0x21,
|
||||
0x22,
|
||||
|
|
@ -64,14 +64,14 @@ char Cus428Midi::KnobParam[] = {
|
|||
5,
|
||||
6,
|
||||
7,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
(char)-1,
|
||||
0x30,
|
||||
0x31,
|
||||
0x32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue