mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-22257: Fix CLI by using int instead of char (compares to EOF). (#1765)
This commit is contained in:
parent
84c6607a81
commit
e0918ecf93
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ read_command_line(int argc, wchar_t **argv, _Py_CommandLineDetails *cmdline)
|
|||
PyObject *warning_option = NULL;
|
||||
wchar_t *command = NULL;
|
||||
wchar_t *module = NULL;
|
||||
char c;
|
||||
int c;
|
||||
char *opt;
|
||||
|
||||
opt = Py_GETENV("PYTHONMALLOC");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue