projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r9418: rework cmucl/sbcl arrays in deref-array, allocate-foreign-object, and with...
[uffi.git]
/
src
/
strings.lisp
diff --git
a/src/strings.lisp
b/src/strings.lisp
index 89c41b2ec03a8ca4d240d449a134c33c92c2a2ef..f935e1bd479db0b479068a6e812432dbfebe44d9 100644
(file)
--- a/
src/strings.lisp
+++ b/
src/strings.lisp
@@
-347,4
+347,4
@@
that LW/CMU automatically converts strings from c-calls."
(let* ((len (or len (strlen s)))
(str (make-string len)))
(dotimes (i len str)
- (setf (schar str i) (code-char (uffi:deref-array s '(:array :byte) i))))))
+ (setf (schar str i) (code-char (uffi:deref-array s '(:array :
unsigned-
byte) i))))))