]> granicus.if.org Git - python/commit
get_gmtoff() now returns time_t (GH-10838)
authorVictor Stinner <vstinner@redhat.com>
Fri, 30 Nov 2018 23:39:36 +0000 (00:39 +0100)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 23:39:36 +0000 (00:39 +0100)
commit503ce5c482cb267b0770bc46c315d5cf822bdca9
tree3189ebbcf39aedf93747dfcc686f6e955f0701b2
parent7212148c95947b0fdfcb0c8e37d4357287bdb4bd
get_gmtoff() now returns time_t (GH-10838)

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
Modules/timemodule.c