Zachary Ware added the comment: The attached patch fixes the warnings and doesn't appear to break anything obvious.
The first 4 are fixed by reverting Alexandre's change from '#if SIZEOF_SIZE_T' to 'if (sizeof(size_t)'. The last one is different from the original 5th warning, and is fixed using the same trick that has been used in Modules/audioop.c; that is, use '(-0x7fffffffL - 1)' rather than '-0x80000000L', which MSVC can't seem to handle. ---------- keywords: +patch Added file: http://bugs.python.org/file32839/issue19739.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com