Fix signedness with incoming plaintext data (#694)

This commit is contained in:
J. Nick Koston 2023-11-24 12:01:02 -06:00 committed by GitHub
parent 663f7ca950
commit aa3b8af246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,9 +21,9 @@ cdef class APIPlaintextFrameHelper(APIFrameHelper):
add_length=bytes, add_length=bytes,
end_of_frame_pos=cython.uint, end_of_frame_pos=cython.uint,
length_int=cython.uint, length_int=cython.uint,
preamble=char, preamble="unsigned char",
length_high=char, length_high="unsigned char",
maybe_msg_type=char maybe_msg_type="unsigned char"
) )
cpdef data_received(self, object data) cpdef data_received(self, object data)