diff options
Diffstat (limited to 'src/character.c')
| -rw-r--r-- | src/character.c | 4 |
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, | |||
| 395 | occupies on the screen. */ | 395 | occupies on the screen. */ |
| 396 | 396 | ||
| 397 | EMACS_INT | 397 | EMACS_INT |
| 398 | strwidth (const unsigned char *str, EMACS_INT len) | 398 | strwidth (const char *str, EMACS_INT len) |
| 399 | { | 399 | { |
| 400 | return c_string_width (str, len, -1, NULL, NULL); | 400 | return c_string_width ((const unsigned char *) str, len, -1, NULL, NULL); |
| 401 | } | 401 | } |
| 402 | 402 | ||
| 403 | /* Return width of Lisp string STRING when displayed in the current | 403 | /* Return width of Lisp string STRING when displayed in the current |