diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-04-04 22:34:01 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-04-04 22:34:01 -0700 |
commit | e11b41ec61e8857f0a0c925dd000a0bad9e124b3 (patch) | |
tree | be3da8bee5dba2bcf0b22e09eb0899952ed352df /src/coding.c | |
parent | b4c7869e5e1bb0bb33379b25ff830e721761a7bf (diff) | |
download | emacs-e11b41ec61e8857f0a0c925dd000a0bad9e124b3.tar.gz |
; Fix typo in previous patch.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index bcedd7f5eeb..17cb77e28df 100644 --- a/src/coding.c +++ b/src/coding.c @@ -8420,7 +8420,7 @@ Lisp_Object from_unicode_buffer (const wchar_t *wstr) { /* We get one of the two final null bytes for free. */ - prtdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); + ptrdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); AUTO_STRING_WITH_LEN (str, (char *) wstr, len); return from_unicode (str); } |