Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import.c: Fix a GCC warning #4822

Merged
merged 1 commit into from
Dec 12, 2017
Merged

import.c: Fix a GCC warning #4822

merged 1 commit into from
Dec 12, 2017

Conversation

vstinner
Copy link
Member

Fix the warning:

Python/import.c: warning: comparison between signed and unsigned integer expressions
if ((i + n + 1) <= PY_SSIZE_T_MAX / sizeof(struct _inittab)) {

Fix the warning:

Python/import.c: warning: comparison between signed and unsigned integer expressions
     if ((i + n + 1) <= PY_SSIZE_T_MAX / sizeof(struct _inittab)) {
@vstinner vstinner requested a review from a team December 12, 2017 22:11
@vstinner vstinner merged commit d233796 into python:master Dec 12, 2017
@vstinner vstinner deleted the fix_import_warn branch December 12, 2017 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants