diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index 730908d..3d35d01 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -292,7 +292,7 @@ ;; cast null pointers to something understood by panama (#{::mem/pointer} type) - `(or ~sym (MemoryAddress/NULL)) + `(or ~sym (MemorySegment/NULL)) (mem/primitive-type type) `(mem/serialize* ~sym ~type-sym ~session)