diff --git a/src/clj/coffi/mem.clj b/src/clj/coffi/mem.clj index b003216..cf8bf38 100644 --- a/src/clj/coffi/mem.clj +++ b/src/clj/coffi/mem.clj @@ -550,7 +550,7 @@ (defmethod deserialize-from ::char [segment _type] - (MemoryAccess/getChar segment)) + (char (Byte/toUnsignedInt (MemoryAccess/getByte segment)))) (defmethod deserialize-from ::float [segment _type]