Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37716594
en ru br
ALT Linux repos
S:0.0.2-alt3.qa1
5.0: 0.0.2-alt3
4.1: 0.0.2-alt2
4.0: 0.0.2-alt1.1

Group :: Graphical desktop/Window Maker
RPM: wmdiskmon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: wmdiskmon-alt-warnings-W_fix.patch
Download


diff -ru wmdiskmon-0.0.1.orig/src/dockapp.c wmdiskmon-0.0.1/src/dockapp.c
--- wmdiskmon-0.0.1.orig/src/dockapp.c	2004-02-14 03:00:44 +0600
+++ wmdiskmon-0.0.1/src/dockapp.c	2006-01-31 13:48:55 +0600
@@ -289,7 +289,7 @@
     if (select(ConnectionNumber(display)+1, &rset, NULL, NULL, &timeout) > 0) {
 	XNextEvent(display, event);
 	if (event->type == ClientMessage) {
-	    if (event->xclient.data.l[0] == delete_win) {
+	    if ((Atom)event->xclient.data.l[0] == delete_win) {
 		XDestroyWindow(display,event->xclient.window);
 		XCloseDisplay(display);
 		exit(0);
diff -ru wmdiskmon-0.0.1.orig/src/main.c wmdiskmon-0.0.1/src/main.c
--- wmdiskmon-0.0.1.orig/src/main.c	2004-02-14 03:00:44 +0600
+++ wmdiskmon-0.0.1/src/main.c	2006-01-31 13:49:25 +0600
@@ -408,8 +408,6 @@
     unsigned v100, v10, v1;
     int      y = 0;
 
-    if (num < 0) num = 0;
-
     v100 = num / 100;
     v10  = (num - v100 * 100) / 10;
     v1   = (num - v100 * 100 - v10 * 10);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin