pgsql: Consistently use unsigned arithmetic for alignment calculations.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Consistently use unsigned arithmetic for alignment calculations.
Дата
Msg-id E1VY3y7-0001uG-2q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/709170b790c11b4012004a6baf11a0fc6ec950de

Modified Files
--------------
src/backend/access/hash/hashfunc.c |    2 +-
src/include/access/tupmacs.h       |    8 ++++----
src/include/c.h                    |   10 +++++-----
3 files changed, 10 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add libpgcommon to backend gettext source files
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add libpgcommon to backend gettext source files