mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 22:00:09 +01:00
hw/xwin: Fix warning about discarding const in initializing winKBLayouts
winlayouts.h:46:5: warning: initialization discards qualifiers from pointer target type winlayouts.h:46:5: warning: initialization discards qualifiers from pointer target type winlayouts.h:46:5: warning: initialization discards qualifiers from pointer target type [repeated for each layout] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
0ea65df8a5
commit
fa36a7cd48
1 changed files with 5 additions and 5 deletions
|
|
@ -30,11 +30,11 @@
|
|||
typedef struct {
|
||||
unsigned int winlayout;
|
||||
int winkbtype;
|
||||
char *xkbmodel;
|
||||
char *xkblayout;
|
||||
char *xkbvariant;
|
||||
char *xkboptions;
|
||||
char *layoutname;
|
||||
const char *xkbmodel;
|
||||
const char *xkblayout;
|
||||
const char *xkbvariant;
|
||||
const char *xkboptions;
|
||||
const char *layoutname;
|
||||
} WinKBLayoutRec, *WinKBLayoutPtr;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue