]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(c): don't overflow intervals on windows either
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 27 Jan 2024 01:09:11 +0000 (01:09 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 27 Jan 2024 01:31:59 +0000 (01:31 +0000)
commit86387833991bfaa525e085e2b45ae2523f539c1a
tree9f765bb28a723751fca0c5c9cb1f2741476de872
parentb7c7836877bed91263d38d693e6abfde41dbda09
fix(c): don't overflow intervals on windows either

In MSVC, long is 4 bytes. Should use long long instead. int64_t is more
understandable.
psycopg_c/psycopg_c/types/datetime.pyx