? sithwm Index: Makefile =================================================================== RCS file: /cvsroot/sithwm/sithwm/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 12 Nov 2007 22:03:34 -0000 1.11 +++ Makefile 7 Mar 2008 22:43:15 -0000 @@ -40,7 +40,7 @@ EXDEFS= $(OPT_$(CC)) EXDEFS_d = -g -CFLAGS_$(CC) = -std=c99 -Wall +CFLAGS_$(CC) = -std=c99 -Wall -Werror CFLAGS_cc = CFLAGS += $(CFLAGS_$(CC)) $(INCLUDES) $(DEFINES) $(EXDEFS$(D)) Index: menu.c =================================================================== RCS file: /cvsroot/sithwm/sithwm/menu.c,v retrieving revision 1.12 diff -u -r1.12 menu.c --- menu.c 12 Nov 2007 22:03:34 -0000 1.12 +++ menu.c 7 Mar 2008 22:43:15 -0000 @@ -355,7 +355,7 @@ int freem = 1; int freestrs = 1; struct area a; - unsigned int mask; + unsigned int mask = NoValue; char*p=global_buffer; char ent_type[3] = "\0"; for (;;) { Index: misc.c =================================================================== RCS file: /cvsroot/sithwm/sithwm/misc.c,v retrieving revision 1.9 diff -u -r1.9 misc.c --- misc.c 12 Nov 2007 22:03:34 -0000 1.9 +++ misc.c 7 Mar 2008 22:43:15 -0000 @@ -21,7 +21,7 @@ char *dot = strchr(colon, '.'); if (!dot) dot = colon + strlen(colon); - snprintf(dot, 5, ".%d", current_screen-screens); + snprintf(dot, 5, ".%ld", current_screen-screens); putenv(ebuf); } snprintf(global_buffer, sizeof global_buffer, "%s&", command); Index: screen.c =================================================================== RCS file: /cvsroot/sithwm/sithwm/screen.c,v retrieving revision 1.10 diff -u -r1.10 screen.c --- screen.c 12 Nov 2007 22:03:34 -0000 1.10 +++ screen.c 7 Mar 2008 22:43:15 -0000 @@ -146,6 +146,7 @@ }break; default: iwin.w = 0; + iwin.h = 0; } int stackwidth = opt_popup_stack_width;