projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10965: 2006-07-04 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git]
/
src
/
strings.lisp
diff --git
a/src/strings.lisp
b/src/strings.lisp
index f41113ba416955665ddcb68617c905dca530b85e..ed3f7e820de6cceb90dc02834edb648189a34dbe 100644
(file)
--- a/
src/strings.lisp
+++ b/
src/strings.lisp
@@
-396,7
+396,8
@@
that LW/CMU automatically converts strings from c-calls."
(let* ((len (or len (strlen s)))
(str (make-string len)))
(declare (fixnum len)
(let* ((len (or len (strlen s)))
(str (make-string len)))
(declare (fixnum len)
- (type (simple-array (signed-byte 8) (*)) str))
+ (type (simple-array #+lispworks base-char
+ #-lispworks (signed-byte 8) (*)) str))
(dotimes (i len str)
(setf (aref str i)
(uffi:deref-array s '(:array :char) i)))))
(dotimes (i len str)
(setf (aref str i)
(uffi:deref-array s '(:array :char) i)))))