Merge pull request #8257 from orbea/python3

Silence warning with --enable-python and 32-bit linux.
This commit is contained in:
Twinaphex 2019-02-12 02:45:20 +01:00 committed by GitHub
commit 97ab1ec6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,7 @@ py_state_t *py_state_new(const char *script,
* isn't standardized across environments.
* PyRun_SimpleFile() breaks on Windows because it's
* compiled with MSVC. */
ssize_t len;
int64_t len;
char *script_ = NULL;
bool ret = filestream_read_file
(script, (void**)&script_, &len);