fixes: Rotated.C:245: warning: array subscript has type char
Brought to you by:
spitzak
--- flwm-1.00/Rotated.C 2005-07-14 02:44:57.722731685 -0700
+++ flwm-new/Rotated.C 2005-07-14 02:34:19.686415000 -0700
@@ -242,9 +242,9 @@
}
for (ichar = 0; ichar < min_char; ichar++)
- rotfont->per_char[ichar] = rotfont->per_char['?'];
+ rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
for (ichar = max_char+1; ichar < 256; ichar++)
- rotfont->per_char[ichar] = rotfont->per_char['?'];
+ rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
/* free pixmap and GC ... */
XFreePixmap(dpy, canvas);