Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37879652
en ru br
ALT Linux repos
S:4.0-alt1.2
5.0: 4.0-alt1.2
4.1: 4.0-alt1.2
4.0: 4.0-alt1.1

Group :: Toys
RPM: xroach

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xroach.patch
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;
 		}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin