aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index 654e39c0e3d..fbe14f1695f 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -8443,11 +8443,11 @@ from_unicode (Lisp_Object str)
8443} 8443}
8444 8444
8445Lisp_Object 8445Lisp_Object
8446from_unicode_buffer (const wchar_t* wstr) 8446from_unicode_buffer (const wchar_t *wstr)
8447{ 8447{
8448 return from_unicode ( 8448 return from_unicode (
8449 make_unibyte_string ( 8449 make_unibyte_string (
8450 (char*) wstr, 8450 (char *) wstr,
8451 /* we get one of the two final 0 bytes for free. */ 8451 /* we get one of the two final 0 bytes for free. */
8452 1 + sizeof (wchar_t) * wcslen (wstr))); 8452 1 + sizeof (wchar_t) * wcslen (wstr)));
8453} 8453}