mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
fbdev: sisfb: use explicitly signed char
With char becoming unsigned by default, and with `char` alone being ambiguous and based on architecture, signed chars need to be marked explicitly as such. This fixes warnings like: drivers/video/fbdev/sis/init301.c:3549 SiS_GetCRT2Data301() warn: 'SiS_Pr->SiS_EModeIDTable[ModeIdIndex]->ROMMODEIDX661' is unsigned Cc: Thomas Winischhofer <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Helge Deller <[email protected]>
This commit is contained in:
committed by
Helge Deller
parent
cc67482c9e
commit
835bed1b83
@@ -91,7 +91,7 @@ struct SiS_Ext {
|
||||
unsigned char VB_ExtTVYFilterIndex;
|
||||
unsigned char VB_ExtTVYFilterIndexROM661;
|
||||
unsigned char REFindex;
|
||||
char ROMMODEIDX661;
|
||||
signed char ROMMODEIDX661;
|
||||
};
|
||||
|
||||
struct SiS_Ext2 {
|
||||
|
||||
@@ -148,7 +148,7 @@ struct SiS_Ext {
|
||||
unsigned char VB_ExtTVYFilterIndex;
|
||||
unsigned char VB_ExtTVYFilterIndexROM661;
|
||||
unsigned char REFindex;
|
||||
char ROMMODEIDX661;
|
||||
signed char ROMMODEIDX661;
|
||||
};
|
||||
|
||||
struct SiS_Ext2 {
|
||||
|
||||
Reference in New Issue
Block a user