diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:16:02 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:16:02 +0000 |
commit | 33fd99257cc46ce90313734bbd1c0821f7792f88 (patch) | |
tree | eb02b680a6a91204ef4a62e4e0419e5242b18e99 | |
parent | 021ac0b5754cc8090633aa043cb80d5622ff9c12 (diff) | |
download | dzen-33fd99257cc46ce90313734bbd1c0821f7792f88.tar.gz dzen-33fd99257cc46ce90313734bbd1c0821f7792f88.zip |
fixed casting warning
git-svn-id: http://dzen.googlecode.com/svn/trunk@245 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-rw-r--r-- | draw.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -336,7 +336,9 @@ parse_line(const char *line, int lnr, int align, int reverse, int nodraw) { /* X stuff */ long lastfg = dzen.norm[ColFG], lastbg = dzen.norm[ColBG]; Fnt *cur_fnt = NULL; +#ifndef DZEN_XFT XGCValues gcv; +#endif Drawable pm=0, bm; #ifdef DZEN_XPM int free_xpm_attrib = 0; @@ -351,7 +353,7 @@ parse_line(const char *line, int lnr, int align, int reverse, int nodraw) { char *xftcs; int xftcs_f=0; - xftcs = dzen.fg; + xftcs = (char *)dzen.fg; #endif @@ -621,7 +623,7 @@ parse_line(const char *line, int lnr, int align, int reverse, int nodraw) { xftcs = estrdup(tval); xftcs_f = 1; } else { - xftcs = dzen.fg; + xftcs = (char *)dzen.fg; xftcs_f = 0; } #endif @@ -891,7 +893,7 @@ parse_line(const char *line, int lnr, int align, int reverse, int nodraw) { xftcs = estrdup(tval); xftcs_f = 1; } else { - xftcs = dzen.fg; + xftcs = (char *)dzen.fg; xftcs_f = 0; } #endif |