Commit efe0234f authored by Paul Eggert's avatar Paul Eggert

* xfont.c: conform to C89 pointer rules

parent 7469ef5d
......@@ -26,6 +26,7 @@
* callproc.c (Fcall_process): Likewise.
* doprnt.c (doprnt): Likewise.
* indent.c (compute_motion): Likewise.
* xfont.c (xfont_decode_coding_xlfd): Likewise.
* character.c (strwidth): Make its argument const char *, not const
unsigned char *, since more callers prefer it that way. All callers
changed.
......@@ -182,7 +182,7 @@ xfont_decode_coding_xlfd (char *xlfd, int len, char *output)
while (*p0)
{
c = *(unsigned char *) p0++;
p1 += CHAR_STRING (c, p1);
p1 += CHAR_STRING (c, (unsigned char *) p1);
if (--len == 0)
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment