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

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