diff options
author | David Rowley <drowley@postgresql.org> | 2020-09-15 15:07:57 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2020-09-15 15:07:57 +1200 |
commit | fe4f36bcde182d57dee5dba898076aba5d826515 (patch) | |
tree | e18ca73ba92a727bb293729fd6e63ca3bf9f7954 /src/backend/access/gist/gist.c | |
parent | f560209c6e99e000f3f6c972f34f1d9dc3857f25 (diff) | |
download | postgresql-fe4f36bcde182d57dee5dba898076aba5d826515.tar.gz postgresql-fe4f36bcde182d57dee5dba898076aba5d826515.zip |
Fix compiler warning
Introduced in 0aa8f7640.
MSVC warned about performing 32-bit bit shifting when it appeared like we
might like a 64-bit result. We did, but it just so happened that none of
the calls to this function could have caused the 32-bit shift to overflow.
Here we just cast the constant to int64 to make the compiler happy.
Discussion: https://postgr.es/m/CAApHDvofA_vsrpC13mq_hZyuye5B-ssKEaer04OouXYCO5-uXQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions