]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
get_gmtoff() now returns time_t (GH-10838) (GH-10840)
authorVictor Stinner <vstinner@redhat.com>
Sat, 1 Dec 2018 00:24:16 +0000 (01:24 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Dec 2018 00:24:16 +0000 (01:24 +0100)
commit6c3f272b01c5d327e97f65115217e283103f7c66
tree7e3e74578ece1a4ee5050d0405882e304ccbc669
parent02250e57c37339ea6de08ab077a307e75eef02f5
get_gmtoff() now returns time_t (GH-10838) (GH-10840)

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