summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-04-04 22:34:01 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-04-04 22:34:01 -0700
commite11b41ec61e8857f0a0c925dd000a0bad9e124b3 (patch)
treebe3da8bee5dba2bcf0b22e09eb0899952ed352df /src/coding.c
parentb4c7869e5e1bb0bb33379b25ff830e721761a7bf (diff)
downloademacs-e11b41ec61e8857f0a0c925dd000a0bad9e124b3.tar.gz
; Fix typo in previous patch.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
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);
}