Re: [HACKERS] mvstats triggers 32bit warnings

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] mvstats triggers 32bit warnings
Дата
Msg-id 20170407223057.lzkn7ti6dym6sllr@alvherre.pgsql
обсуждение исходный текст
Ответ на [HACKERS] mvstats triggers 32bit warnings  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund wrote:
> Hi,
> 
> compiling on linux 32 bit I get a lot of warnings due to printf format.
> I suspect most of them should just be cured by using %zd or %zu instead
> of %ld.

You're right, they are.  Confirmed, and pushed fix using %zd.  I suppose
%zu would be "more correct", but this doesn't raise warnings anymore.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] monitoring.sgml missing tag
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] SCRAM authentication, take three