X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fphosphor.c;h=22e9495e3fd832c0608de34e17dc9e9e8850dd3a;hp=105f9b5bcf7f0146d983c6e26b9d581bc933018f;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hpb=14463b6ad1ab1ccf81f9c33350b048e410ba94cb diff --git a/hacks/phosphor.c b/hacks/phosphor.c index 105f9b5b..22e9495e 100644 --- a/hacks/phosphor.c +++ b/hacks/phosphor.c @@ -300,7 +300,7 @@ capture_font_bits (p_state *state) continue; XDrawString (state->dpy, p, state->gc1, i * safe_width, font->ascent, - string + i, 1); + (char *) (string + i), 1); } /* Draw the cursor. */