pgsql: Add an explicit cast to double when using fabs(). - Mailing list pgsql-committers

From Dean Rasheed
Subject pgsql: Add an explicit cast to double when using fabs().
Date
Msg-id E1kwkx4-0007YH-42@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add an explicit cast to double when using fabs().

Commit bc43b7c2c0 used fabs() directly on an int variable, which
apparently requires an explicit cast on some platforms.

Per buildfarm.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5777b6ea29a581f073c80ae48931adadcbc268d4

Modified Files
--------------
src/backend/utils/adt/numeric.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: pgsql: Fix numeric_power() when the exponent is INT_MIN.
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc: improve NLS instruction wording