aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
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
8420from_unicode_buffer (const wchar_t *wstr) 8420from_unicode_buffer (const wchar_t *wstr)
8421{ 8421{
8422 /* We get one of the two final null bytes for free. */ 8422 /* We get one of the two final null bytes for free. */
8423 prtdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr); 8423 ptrdiff_t len = 1 + sizeof (wchar_t) * wcslen (wstr);
8424 AUTO_STRING_WITH_LEN (str, (char *) wstr, len); 8424 AUTO_STRING_WITH_LEN (str, (char *) wstr, len);
8425 return from_unicode (str); 8425 return from_unicode (str);
8426} 8426}