pgsql: Add an explicit cast to double when using fabs().

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add an explicit cast to double when using fabs().
Date: 2021-01-05 11:56:38
Message-ID: E1kwkx4-0007YT-5i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f0b9bada56f801fc9e70befb7206a72d5444eb8e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-01-05 19:26:55 pgsql: doc: improve NLS instruction wording
Previous Message Dean Rasheed 2021-01-05 11:19:46 pgsql: Fix numeric_power() when the exponent is INT_MIN.