diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-01 14:49:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-01 14:49:14 (GMT) |
commit | fecbf2b8553ba43518eba229753b0efc12aabd28 (patch) | |
tree | 23d757b95ad331974ce291af1104a153a96ff49f /unix/tkUnix.c | |
parent | 231368f73de8a15b94a1cd60793e52c8d6f6d052 (diff) | |
download | tk-fecbf2b8553ba43518eba229753b0efc12aabd28.zip tk-fecbf2b8553ba43518eba229753b0efc12aabd28.tar.gz tk-fecbf2b8553ba43518eba229753b0efc12aabd28.tar.bz2 |
Fix some gcc warnings (when using -Wshadow, deprecated XKeycodeToKeysym(), XScreenSaverQueryInfo weak symbol on MacOS)
Diffstat (limited to 'unix/tkUnix.c')
-rw-r--r-- | unix/tkUnix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnix.c b/unix/tkUnix.c index c6fff82..2de6e98 100644 --- a/unix/tkUnix.c +++ b/unix/tkUnix.c @@ -16,7 +16,7 @@ # include <X11/extensions/scrnsaver.h> # ifdef __APPLE__ /* Support for weak-linked libXss. */ -# define HaveXSSLibrary() (XScreenSaverQueryInfo != NULL) +# define HaveXSSLibrary() (&XScreenSaverQueryInfo != NULL) # else /* Other platforms always link libXss. */ # define HaveXSSLibrary() (1) |