summaryrefslogtreecommitdiff
path: root/src/character.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-06 21:42:15 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-06 21:42:15 -0800
commit7469ef5d1bf4a7d2297fce554dc0980d4787ffb4 (patch)
tree179dafe5e7dda10542f948c83f55b578621232ca /src/character.c
parent0ca76b1eacbc5df387325d8711d3add68486909a (diff)
downloademacs-7469ef5d1bf4a7d2297fce554dc0980d4787ffb4.tar.gz
* doprnt.c, indent.c, character.c: conform to C89 pointer rules
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/character.c b/src/character.c
index 9936ac281cf..397481e5b39 100644
--- a/src/character.c
+++ b/src/character.c
@@ -395,9 +395,9 @@ c_string_width (const unsigned char *str, EMACS_INT len, int precision,
occupies on the screen. */
EMACS_INT
-strwidth (const unsigned char *str, EMACS_INT len)
+strwidth (const char *str, EMACS_INT len)
{
- return c_string_width (str, len, -1, NULL, NULL);
+ return c_string_width ((const unsigned char *) str, len, -1, NULL, NULL);
}
/* Return width of Lisp string STRING when displayed in the current