Commit 66c3a546c6e807229d4809048a2d834c0ade6de4

Thomas de Grivel 2018-06-03T23:04:09

fix queue

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bordeaux-queue.lisp b/bordeaux-queue.lisp
index 4939b3f..e4c6f4f 100644
--- a/bordeaux-queue.lisp
+++ b/bordeaux-queue.lisp
@@ -150,7 +150,7 @@
     (with-lock-held (lock)
       (let* ((vector-length (length vector))
              (len length)
-             (result (make-array `(len)
+             (result (make-array `(,len)
                                  :element-type (array-element-type vector))))
         (dotimes (i len)
           (setf read-index (mod (1+ read-index) vector-length)