Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.6] bpo-29063: tmtotuple(): use time_t for gmtoff (#1276) #1635

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

Merged
merged 1 commit into from
May 17, 2017
Merged

[3.6] bpo-29063: tmtotuple(): use time_t for gmtoff (#1276) #1635

merged 1 commit into from
May 17, 2017

Conversation

vstinner
Copy link
Member

timegm() return type is time_t, not int. Use time_t to prevent the
following compiler warning on Windows:

timemodule.c: warning C4244: '=': conversion from 'time_t' to 'int',
possible loss of data
(cherry picked from commit 0d659e5)

timegm() return type is time_t, not int. Use time_t to prevent the
following compiler warning on Windows:

timemodule.c: warning C4244: '=': conversion from 'time_t' to 'int',
              possible loss of data
(cherry picked from commit 0d659e5)
@vstinner vstinner changed the title [3.6] tmtotuple(): use time_t for gmtoff (#1276) [3.6] bpo-29063: tmtotuple(): use time_t for gmtoff (#1276) May 17, 2017
@vstinner vstinner merged commit 69f3a5a into python:3.6 May 17, 2017
@vstinner vstinner deleted the gmtoff_t branch May 17, 2017 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants