Skip to content

Commit 0e3966a

Browse files
authored
Corrects array-set macro for Primus Lisp. (#1584)
1 parent 7d96cf4 commit 0e3966a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/primus_lisp/lisp/pointers.lisp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@
7373
"(array-set T P N W) sets to W the N-th element of the array of
7474
elements of type T, pointed by P. Returns a pointer to the next
7575
element"
76-
(write-word t (ptr+ p n) w))
76+
(write-word t (ptr+ t p n) w))

0 commit comments

Comments
 (0)