From e11b41ec61e8857f0a0c925dd000a0bad9e124b3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 4 Apr 2016 22:34:01 -0700 Subject: ; Fix typo in previous patch. --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/coding.c') 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); } -- cgit v1.2.1