Consistently use unsigned arithmetic for alignment calculations.

Noah Misch <noah@leadboat.com>

Commit: 709170b790c11b4012004a6baf11a0fc6ec950de
Author: Noah Misch <noah@leadboat.com>
Date: 2013-10-21T01:04:52Z
Releases: 9.4.0
Consistently use unsigned arithmetic for alignment calculations.

This avoids an assumption about the signed number representation.  It is
anticipated to have no functional changes on supported configurations;
many two's complement assumptions remain elsewhere.

Per a suggestion from Andres Freund.

Files

PathChange+/−
src/backend/access/hash/hashfunc.c modified +1 −1
src/include/access/tupmacs.h modified +4 −4
src/include/c.h modified +5 −5