aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-02-06 21:44:50 -0800
committerPaul Eggert2011-02-06 21:44:50 -0800
commitefe0234f6a39ec077ed5c3b77779fec223636dba (patch)
tree5daafacd2b16b4385b30ac6f442625f6b6c6b87e /src
parent7469ef5d1bf4a7d2297fce554dc0980d4787ffb4 (diff)
downloademacs-efe0234f6a39ec077ed5c3b77779fec223636dba.tar.gz
emacs-efe0234f6a39ec077ed5c3b77779fec223636dba.zip
* xfont.c: conform to C89 pointer rules
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xfont.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f646bd66981..386a9b3a0e5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -26,6 +26,7 @@
26 * callproc.c (Fcall_process): Likewise. 26 * callproc.c (Fcall_process): Likewise.
27 * doprnt.c (doprnt): Likewise. 27 * doprnt.c (doprnt): Likewise.
28 * indent.c (compute_motion): Likewise. 28 * indent.c (compute_motion): Likewise.
29 * xfont.c (xfont_decode_coding_xlfd): Likewise.
29 * character.c (strwidth): Make its argument const char *, not const 30 * character.c (strwidth): Make its argument const char *, not const
30 unsigned char *, since more callers prefer it that way. All callers 31 unsigned char *, since more callers prefer it that way. All callers
31 changed. 32 changed.
diff --git a/src/xfont.c b/src/xfont.c
index 222b4d9edf9..f8aace3663c 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -182,7 +182,7 @@ xfont_decode_coding_xlfd (char *xlfd, int len, char *output)
182 while (*p0) 182 while (*p0)
183 { 183 {
184 c = *(unsigned char *) p0++; 184 c = *(unsigned char *) p0++;
185 p1 += CHAR_STRING (c, p1); 185 p1 += CHAR_STRING (c, (unsigned char *) p1);
186 if (--len == 0) 186 if (--len == 0)
187 break; 187 break;
188 } 188 }