changeset 46375:e90f58d3450c

* lread.c (read_vector): Use STRING_SET_CHARS.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 15 Jul 2002 02:16:52 +0000
parents 5d419e7c527d
children 3eb5331c5798
files src/lread.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Mon Jul 15 02:16:15 2002 +0000
+++ b/src/lread.c	Mon Jul 15 02:16:52 2002 +0000
@@ -2760,7 +2760,7 @@
 		  /* Coerce string to unibyte (like string-as-unibyte,
 		     but without generating extra garbage and
 		     guaranteeing no change in the contents).  */
-		  SCHARS (bytestr) = SBYTES (bytestr);
+		  STRING_SET_CHARS (bytestr, SBYTES (bytestr));
 		  STRING_SET_UNIBYTE (bytestr);
 
 		  item = Fread (bytestr);