Skip to content

Commit 81f6e54

Browse files
committed
Fix typos
1 parent 8890896 commit 81f6e54

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/simple-array.lisp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
in the array sap. On non sbcl we just check to make sure things are fixnums because we
426426
did not blit the data out"
427427
#+sbcl
428-
(ash (signed-sap-ref 64 ,sap ,offset) -1)
428+
`(ash (signed-sap-ref 64 ,sap ,offset) -1)
429429
#-sbcl
430430
(let ((a (gensym)))
431431
`(let ((,a (signed-sap-ref-64 ,sap ,offset)))
@@ -490,8 +490,8 @@
490490
(chunked/read
491491
storage num-bytes
492492
(lambda (source-sap source-sap-offset data-start/bytes data-end-bytes)
493-
(copy-sap target-sap data-start/bytes source-sap source-sap-offset (the fixnum (- data-end-bytes data-start/bytes)))))))))
494-
sv)))))
493+
(copy-sap target-sap data-start/bytes source-sap source-sap-offset (the fixnum (- data-end-bytes data-start/bytes))))))))))
494+
sv))))
495495

496496
;; for ccl ccl::array-data-and-offset would be fine... it's been a stable interface
497497
;; forever.

test/cl-binary-store-tests.lisp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@
679679
(let ((a (make-array (file-length str))))
680680
(read-sequence a str)
681681
a))))
682-
(loop repeat 10000
682+
(loop repeat 100 ;;10000
683683
with input = (make-array (random 100) :element-type '(unsigned-byte 8))
684684
do (loop for i fixnum below (length input) do (setf (aref input i) (random 256)))
685685
do (try input))
@@ -697,6 +697,5 @@
697697
(finish
698698
(handler-case
699699
(cl-binary-store::restore #(21 5 3 127 127 127 127 127 127 127 127))
700-
(invalid-input-data ())))
701-
700+
(invalid-input-data ()))))
702701

0 commit comments

Comments
 (0)