Skip to content

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.

4 participants