Fix printf format string warning on MinGW.
Thomas Munro <tmunro@postgresql.org>
Fix printf format string warning on MinGW. Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/expected/sql-sqlda.c | modified | +66 −71 |
| src/interfaces/ecpg/test/expected/sql-sqlda.stderr | modified | +225 −225 |
| src/interfaces/ecpg/test/sql/sqlda.pgc | modified | +2 −7 |
Discussion
- MinGW compiler warnings in ecpg tests 9 messages · 2019-10-25 → 2025-11-04