diff options
author | Colin Walters <walters@verbum.org> | 2010-03-02 17:16:07 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-02-28 17:17:04 -0500 |
commit | 687376bb549b3d60ba848c9d4105fe41087f3a77 (patch) | |
tree | 405e8bffaa20a1fb735a15fc2218e8273c6b8229 /src | |
parent | 1121990f86bd18b26670991b0e8b1e8c6cd94795 (diff) | |
download | metacity-687376bb549b3d60ba848c9d4105fe41087f3a77.tar.gz |
Work around usage of XPointer
XLib has historically used "char*" for "generic pointer" but
compliers rightly complain when casting this to a structure.
Work around this by casting to void * and letting the implicit
conversion to a structure type take effect.
https://bugzilla.gnome.org/show_bug.cgi?id=611644
Diffstat (limited to 'src')
-rw-r--r-- | src/core/async-getprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/async-getprop.c b/src/core/async-getprop.c index 31b0edc3..64855445 100644 --- a/src/core/async-getprop.c +++ b/src/core/async-getprop.c @@ -215,7 +215,7 @@ async_get_property_handler (Display *dpy, AgPerDisplayData *dd; int bytes_read; - dd = (AgPerDisplayData*) data; + dd = (void*) data; #if 0 printf ("%s: seeing request seq %ld buflen %d\n", __FUNCTION__, |