aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-06-17 16:15:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-06-17 16:15:11 -0400
commit9b53d966847c55fbd2bff63b3e1a1c37fc694071 (patch)
tree0347b58db1ab9598307ddf3c9e207ce1aa90514e /contrib/jsonb_plperl/jsonb_plperl.c
parent514d4a1338d5409431d644eaf453193ac362ef16 (diff)
downloadpostgresql-9b53d966847c55fbd2bff63b3e1a1c37fc694071.tar.gz
postgresql-9b53d966847c55fbd2bff63b3e1a1c37fc694071.zip
Suppress -Wshift-negative-value warnings.
Clean up four places that result in compiler warnings when using recent gcc with this warning class enabled (as seen on buildfarm members calliphoridae, skink, and others). In all these places, this is purely cosmetic, because the shift distance could not be large enough to risk a change of sign, so there's no chance of implementation-dependent behavior. Still, it's easy enough to avoid the warning by casting the shifted value to unsigned, so let's do that. Patch HEAD only, this isn't worth a back-patch.
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions