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-0007YG-3e@gemulon.postgresql.org
Views: Whole Thread | Raw Message | 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
------
master

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

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.