[Xcb-commit] xcb-demo xcbrandr.c,1.4,1.5

Vincent Torri xcb-commit at lists.freedesktop.org
Sat Dec 17 22:45:14 PST 2005


Update of /cvs/xcb/xcb-demo
In directory gabe:/tmp/cvs-serv16319

Modified Files:
	xcbrandr.c 
Log Message:
make gcc 4.0 happy

Index: xcbrandr.c
===================================================================
RCS file: /cvs/xcb/xcb-demo/xcbrandr.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- xcbrandr.c	11 Dec 2005 22:30:17 -0000	1.4
+++ xcbrandr.c	18 Dec 2005 06:45:11 -0000	1.5
@@ -93,7 +93,7 @@
 	XCBRandRRefreshRatesNext(&ri);
     }
     
-    ents = XCBRandRRefreshRatesRates(ri.data);
+    ents = (short *)XCBRandRRefreshRatesRates(ri.data);
     *nrates = XCBRandRRefreshRatesRatesLength(ri.data);
     
     if (!nrates) {



More information about the xcb-commit mailing list