Skip to content

[3.7] get_gmtoff() now returns time_t (GH-10838)#10839

Merged
vstinner merged 1 commit into
python:3.7from
vstinner:get_gmtoff_time_t37
Dec 1, 2018
Merged

[3.7] get_gmtoff() now returns time_t (GH-10838)#10839
vstinner merged 1 commit into
python:3.7from
vstinner:get_gmtoff_time_t37

Conversation

@vstinner
Copy link
Copy Markdown
Member

get_gmtoff() now returns time_t instead of int to fix the following
Visual Studio warning:

Modules\timemodule.c(1183): warning C4244: 'return':
conversion from 'time_t' to 'int', possible loss of data

(cherry picked from commit 503ce5c)

get_gmtoff() now returns time_t instead of int to fix the following
Visual Studio warning:

    Modules\timemodule.c(1183): warning C4244: 'return':
    conversion from 'time_t' to 'int', possible loss of data

(cherry picked from commit 503ce5c)
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