pgsql: Fix MSVC warning in compat_informix/rnull.pgc

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Fix MSVC warning in compat_informix/rnull.pgc
Дата
Msg-id [email protected]
обсуждение исходный текст
Список pgsql-committers
Fix MSVC warning in compat_informix/rnull.pgc

Building the ecpg tests with MSVC, with warnings enabled, results in the
following warning:
src/interfaces/ecpg/test/compat_informix/rnull.pgc(19,1): warning C4305: 'initializing': truncation from 'double' to
'float'

The more obvious fix would be an 'f' suffix, but ecpg can't parse that.

Reviewed-by: Peter Eisentraut <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/483ac6476198c66696b725d49aa42290a9a94a95

Modified Files
--------------
src/interfaces/ecpg/test/compat_informix/rnull.pgc        | 2 +-
src/interfaces/ecpg/test/expected/compat_informix-rnull.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


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