They are used in non-const context. Fixes a couple of warnings: warning: assignment discards 'const' qualifier from pointer target type
Signed-off-by: Thomas Klausner <[email protected]> --- src/vb_table.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/vb_table.h b/src/vb_table.h index b26427c..d49f233 100755 --- a/src/vb_table.h +++ b/src/vb_table.h @@ -3112,14 +3112,14 @@ static const XGI_ModeResInfoStruct XGI330_ModeResInfo[]= { 1152, 864, 8,16} }; -static const UCHAR XGI330_OutputSelect = 0x40; -static const UCHAR XGI330_SoftSetting = 0x30; -static const UCHAR XGI330_SR07 = 0x18; -static const UCHAR XG21_DVOSetting = 0x00 ; -static const UCHAR XG21_CR2E = 0x00 ; -static const UCHAR XG21_CR2F = 0x00 ; -static const UCHAR XG21_CR46 = 0x00 ; -static const UCHAR XG21_CR47 = 0x00 ; +static UCHAR XGI330_OutputSelect = 0x40; +static UCHAR XGI330_SoftSetting = 0x30; +static UCHAR XGI330_SR07 = 0x18; +static UCHAR XG21_DVOSetting = 0x00 ; +static UCHAR XG21_CR2E = 0x00 ; +static UCHAR XG21_CR2F = 0x00 ; +static UCHAR XG21_CR46 = 0x00 ; +static UCHAR XG21_CR47 = 0x00 ; UCHAR XG27_CR97 = 0xC1 ; UCHAR XG27_SR36 = 0x30 ; -- 2.5.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
