r10396: 2005-04-12 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git] / src / strings.lisp
index a0ca3fc31bdb26ad3e9d099c5caed63c552e0bf1..684b0351ca108948b00ea5426a4f16407dc1a30b 100644 (file)
@@ -317,8 +317,8 @@ that LW/CMU automatically converts strings from c-calls."
             (setq length null-terminated-length))
        (setq length null-terminated-length)))
    (let ((result (make-string length)))
-       (funcall *system-copy-fn* sap 0 result *system-copy-offset*
-               (* length *system-copy-multiplier*))
+       (funcall *system-copy-fn* sap 0 result +system-copy-offset+
+               (* length +system-copy-multiplier+))
        result)))
 
 #+(and sbcl sb-unicode)
@@ -338,8 +338,8 @@ that LW/CMU automatically converts strings from c-calls."
     (t
      (let ((result (make-string length)))
        ;; this will not work in sb-unicode
-       (funcall *system-copy-fn* sap 0 result *system-copy-offset*
-               (* length *system-copy-multiplier*))
+       (funcall *system-copy-fn* sap 0 result +system-copy-offset+
+               (* length +system-copy-multiplier+))
        result)))))