Skip to content

Commit c83f21a

Browse files
author
cage
committed
- fixed declaration.
1 parent 1bfdf45 commit c83f21a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/gemini-viewer.lisp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,10 @@
511511
(multiple-value-bind (buffer read-so-far)
512512
(with-print-error-message
513513
(read-array download-stream +read-buffer-size+))
514-
(declare ((vector (unsigned-byte 8)) buffer))
515-
(declare (fixnum read-so-far))
514+
(declare ((or null
515+
(vector (unsigned-byte 8)))
516+
buffer))
517+
(declare ((or null fixnum) read-so-far))
516518
(increment-bytes-count wrapper-object read-so-far)
517519
(if (download-completed-p buffer read-so-far)
518520
(progn

0 commit comments

Comments
 (0)