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.
This commit is contained in:
Rodolfo García Peñas (kix) 2011-12-16 11:23:38 +01:00 committed by Carlos R. Mafra
parent 7e6c32e926
commit 996f7c41ad
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -14,6 +14,6 @@ wmmon: $(OBJS)
clean::
for i in $(OBJS) ; do \
rm $$i;\
rm -f $$i;\
done
rm wmmon
rm -f wmmon