New submission from Christian Heimes: MSVC complains about "conversion from 'Py_ssize_t' to 'long', possible loss of data" in zipimport.c. header_offset is a Py_ssize_t but fseek() only takes a long. On 64bit Windows Py_ssize_t is a 64bit data type but long is still a 32bit data type.
It's safe to assume that the header will be smaller than 2 GB for the next couple of years. :) ---------- assignee: brett.cannon files: zipimport_header_offset.patch keywords: patch messages: 205209 nosy: brett.cannon, christian.heimes priority: low severity: normal stage: patch review status: open title: overflow in zipexport.c type: compile error versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file32970/zipimport_header_offset.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19883> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com