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

bpo-34672: fix a compiler warning in timemodule.c #10176

Merged
merged 1 commit into from
Oct 28, 2018

Conversation

zhangyangyu
Copy link
Member

@zhangyangyu zhangyangyu commented Oct 28, 2018

./Modules/timemodule.c:573:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
p->tm_zone = PyUnicode_AsUTF8(item);
^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

https://bugs.python.org/issue34672

@zhangyangyu zhangyangyu changed the title fix a compiler warning in timemodule.c bpo-34672: fix a compiler warning in timemodule.c Oct 28, 2018
@zhangyangyu zhangyangyu merged commit 163eca3 into master Oct 28, 2018
@zhangyangyu zhangyangyu deleted the zhangyangyu-patch-1 branch October 28, 2018 15:58
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