X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fphosphor.c;h=22e9495e3fd832c0608de34e17dc9e9e8850dd3a;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hp=105f9b5bcf7f0146d983c6e26b9d581bc933018f;hpb=df7adbee81405e2849728a24b498ad2117784b1f;p=xscreensaver 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. */