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-0007YK-4Q@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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/740780a6157f0688829082dec793fce6153a36a3

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