File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ i of grpc_byte_buffer BUFFER."
367
367
368
368
(defun convert-bytes-to-grpc-byte-buffer (bytes)
369
369
" Given a lisp-vector of BYTES convert them to a grpc_byte_buffer."
370
- (let ((array (cffi :foreign-alloc :char :initial-contents bytes)))
370
+ (let ((array (cffi :foreign-alloc :unsigned- char :initial-contents bytes)))
371
371
(prog1
372
372
(cffi :foreign-funcall " convert_bytes_to_grpc_byte_buffer"
373
373
:pointer array
@@ -536,7 +536,7 @@ want. Returns a plist containing keys being the op type and values being the ind
536
536
(defun convert-bytes-to-grpc-slice (bytes)
537
537
" Takes a list of bytes BYTES and returns a pointer to the corresponding
538
538
grpc_slice*."
539
- (let ((array (cffi :foreign-alloc :char :initial-contents bytes)))
539
+ (let ((array (cffi :foreign-alloc :unsigned- char :initial-contents bytes)))
540
540
(cffi :foreign-funcall " convert_bytes_to_grpc_slice"
541
541
:pointer array
542
542
:size (length bytes)
You can’t perform that action at this time.
0 commit comments