mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 01:40:13 +01:00
hw/xwin: Fix const warning in winPrefsLoadPreferences()
winprefs.c:643:14: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
593c6b1934
commit
f0f0c92a08
1 changed files with 1 additions and 1 deletions
|
|
@ -625,7 +625,7 @@ winIconIsOverride(HICON hicon)
|
|||
* If @path is NULL, use the built-in default.
|
||||
*/
|
||||
static int
|
||||
winPrefsLoadPreferences(char *path)
|
||||
winPrefsLoadPreferences(const char *path)
|
||||
{
|
||||
FILE *prefFile = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue