Module Name:    xsrc
Committed By:   wiz
Date:           Sun Jun 30 11:34:54 UTC 2013

Modified Files:
        xsrc/external/mit/libXrandr/dist/src: XrrProvider.c

Log Message:
Reduce diff to upstream.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libXrandr/dist/src/XrrProvider.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXrandr/dist/src/XrrProvider.c
diff -u xsrc/external/mit/libXrandr/dist/src/XrrProvider.c:1.3 xsrc/external/mit/libXrandr/dist/src/XrrProvider.c:1.4
--- xsrc/external/mit/libXrandr/dist/src/XrrProvider.c:1.3	Sat Jun  1 08:00:47 2013
+++ xsrc/external/mit/libXrandr/dist/src/XrrProvider.c	Sun Jun 30 11:34:54 2013
@@ -77,7 +77,7 @@ XRRGetProviderResources(Display *dpy, Wi
     xrpr->nproviders = rep.nProviders;
     xrpr->providers = (RRProvider *)(xrpr + 1);
 
-    _XRead32(dpy, (RRProvider *)xrpr->providers, rep.nProviders << 2);
+    _XRead32(dpy, xrpr->providers, rep.nProviders << 2);
 
     if (nbytes > nbytesRead)
       _XEatData (dpy, (unsigned long) (nbytes - nbytesRead));
@@ -156,7 +156,7 @@ XRRGetProviderInfo(Display *dpy, XRRScre
     _XRead32(dpy, xpi->outputs, rep.nOutputs << 2);
 
     _XRead32(dpy, xpi->associated_providers, rep.nAssociatedProviders << 2);
-    _XRead32(dpy, (RRProvider *)xpi->associated_capability, rep.nAssociatedProviders << 2);
+    _XRead32(dpy, (long int *)xpi->associated_capability, rep.nAssociatedProviders << 2);
 
     _XReadPad(dpy, xpi->name, rep.nameLength);
     xpi->name[rep.nameLength] = '\0';

Reply via email to