diff options
author | Keith Packard <keithp@keithp.com> | 2014-12-16 17:05:18 -0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-03-31 12:07:56 +1000 |
commit | 7402eaa0185110a60cf4aae32d7b470c1372b45b (patch) | |
tree | 99c59333fc607ac5e80b1ad6c4bc72702df41d57 /src/XrrProviderProperty.c | |
parent | bc00b4fb0b52ed2f6f8544fa3b5da9693ee7ed90 (diff) |
libXrandr: Clean up compiler warnings
This removes warnings about shadowing local variables with the same
name, and type mismatches with _XRead32.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/XrrProviderProperty.c')
-rw-r--r-- | src/XrrProviderProperty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrProviderProperty.c b/src/XrrProviderProperty.c index 34cc082..241e8ee 100644 --- a/src/XrrProviderProperty.c +++ b/src/XrrProviderProperty.c @@ -70,7 +70,7 @@ XRRListProviderProperties (Display *dpy, RRProvider provider, int *nprop) return NULL; } - _XRead32 (dpy, props, nbytes); + _XRead32 (dpy, (long *) props, nbytes); } *nprop = rep.nAtoms; |