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:
Jon TURNEY 2014-10-03 14:00:06 +01:00
parent 593c6b1934
commit f0f0c92a08

View File

@ -625,7 +625,7 @@ winIconIsOverride(HICON hicon)
* If @path is NULL, use the built-in default. * If @path is NULL, use the built-in default.
*/ */
static int static int
winPrefsLoadPreferences(char *path) winPrefsLoadPreferences(const char *path)
{ {
FILE *prefFile = NULL; FILE *prefFile = NULL;