From 996f7c41adef4c0f05077c958a5678d874784159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Fri, 16 Dec 2011 11:23:38 +0100 Subject: [PATCH] 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. --- wmmon/wmgeneral/wmgeneral.c | 2 +- wmmon/wmmon/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmmon/wmgeneral/wmgeneral.c b/wmmon/wmgeneral/wmgeneral.c index 87be712..34b4e05 100644 --- a/wmmon/wmgeneral/wmgeneral.c +++ b/wmmon/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/wmmon/Makefile b/wmmon/wmmon/Makefile index a0793dd..7bfd8e5 100755 --- a/wmmon/wmmon/Makefile +++ b/wmmon/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