On 03/30/2016 05:57 PM, Alvaro Herrera wrote:
XLogReader general code cleanup

This is causing compiler warnings on 32-bit environments(?):

xlogreader.c: In function ‘XLogReadRecord’:
xlogreader.c:334:7: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
       "invalid record length at %X/%X: wanted %lu, got %u",
       ^
xlogreader.c: In function ‘ValidXLogRecordHeader’:
xlogreader.c:633:7: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
       "invalid record length at %X/%X: wanted %lu, got %u",
       ^



--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to