wmfs compile with -W -Wall -Wextra (TODO: fix types !!)

This commit is contained in:
Philippe Pepiot
2010-11-17 02:27:15 +01:00
parent b6c557a8ee
commit c2664e8e85
18 changed files with 127 additions and 58 deletions

View File

@@ -51,6 +51,7 @@ draw_image_ofset_text(Drawable d, int x, int y, char* fg, int pad, char *str, in
{
XftColor xftcolor;
XftDraw *xftd;
(void)pad;
if(!str)
return;
@@ -130,7 +131,7 @@ draw_rectangle(Drawable dr, int x, int y, uint w, uint h, uint color)
void
draw_graph(Drawable dr, int x, int y, uint w, uint h, uint color, char *data)
{
int i;
uint i;
XSetForeground(dpy, gc, color);