[Pkg-wmaker-commits] [wmmon] 03/38: wmmon: remove wmgeneral.c typecasting warning

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 12 22:43:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmmon.

commit a237c216d277db9c90bb384259a1d9d2b8f326c7
Author: Rodolfo García Peñas (kix) <kix at kix.es>
Date:   Fri Dec 16 11:23:38 2011 +0100

    wmmon: remove wmgeneral.c typecasting warning
    
    wmmon: Added -f to rm
    
    The -f argument don't stop the make process if the file don't
    exists.
---
 wmgeneral/wmgeneral.c | 2 +-
 wmmon/Makefile        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wmgeneral/wmgeneral.c b/wmgeneral/wmgeneral.c
index 87be712..34b4e05 100644
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -318,7 +318,7 @@ void openXwindow(int argc, char *argv[], char *pixmap_bytes[], char *pixmask_bit
 	            &mysizehints.width, &mysizehints.height, &dummy);
 	if (geometry)
 		XParseGeometry(geometry, &mysizehints.x, &mysizehints.y,
-		               &mysizehints.width, &mysizehints.height);
+		               (unsigned int *) &mysizehints.width, (unsigned int *) &mysizehints.height);
 
 	mysizehints.width = 64;
 	mysizehints.height = 64;
diff --git a/wmmon/Makefile b/wmmon/Makefile
index a0793dd..7bfd8e5 100755
--- a/wmmon/Makefile
+++ b/wmmon/Makefile
@@ -14,6 +14,6 @@ wmmon: $(OBJS)
 
 clean::
 	for i in $(OBJS) ; do \
-		rm $$i;\
+		rm -f $$i;\
 	done
-	rm wmmon
+	rm -f wmmon

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmmon.git



More information about the Pkg-wmaker-commits mailing list