File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -951,7 +951,7 @@ DOCGROUP(clasp);
951951CL_DEFUN Character_sp cl__schar (AbstractSimpleVector_sp str, size_t idx) {
952952 if (str.isA <SimpleBaseString_O>()
953953 || str.isA <SimpleCharacterString_O>())
954- return cl__rowMajorAref (str, idx);
954+ return cl__rowMajorAref (str, idx). as_unsafe <Character_O>() ;
955955 else
956956 TYPE_ERROR (str, cl::_sym_simple_string);
957957}
@@ -962,7 +962,7 @@ DOCGROUP(clasp);
962962CL_DEFUN Character_sp cl__char (String_sp str, size_t idx) {
963963 if (str.isA <SimpleBaseString_O>() || str.isA <Str8Ns_O>()
964964 || str.isA <SimpleCharacterString_O>() || str.isA <StrWNs_O>())
965- return cl__rowMajorAref (str, idx);
965+ return cl__rowMajorAref (str, idx). as_unsafe <Character_O>() ;
966966 else
967967 TYPE_ERROR (str, cl::_sym_string);
968968};
You can’t perform that action at this time.
0 commit comments