Skip to content

Conversation

@vstinner
Copy link
Member

Fixed the following compiler warning in multibytecodec.c:

warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned char', possible loss of data 

Cast Py_ssize_t to unsigned char: the maximum value is checked
on the previous line.

Fixed the following compiler warning in multibytecodec.c: warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned char', possible loss of data Cast Py_ssize_t to unsigned char: the maximum value is checked on the previous line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants