Group :: Toys
RPM: xroach
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: xroach.patch
Download
Download
--- xroach-4.0.ori/xroach.c Thu Jun 6 05:12:07 1991
+++ xroach-4.0/xroach.c Tue Jun 22 22:15:14 1999
@@ -369,8 +369,9 @@
newRoot = NULL;
nItems = 0;
if (XGetWindowProperty(display, children[cx], swmVroot, 0L, 1L, False,
- XA_WINDOW, &actualType, &actualFormat, &nItems,
- &bytesAfter, &newRoot) == Success && actualFormat != None) {
+ XA_WINDOW, &actualType, (int *)&actualFormat, &nItems,
+ &bytesAfter, (unsigned char **)&newRoot) == Success &&
+ actualFormat != None) {
if (nItems >= 1) {
rootWin = *newRoot;
}