pgsql: Fix signedness error in 9f225e992 for gcc

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix signedness error in 9f225e992 for gcc
Date: 2024-03-06 08:56:50
Message-ID: E1rhn50-002NFW-7O@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix signedness error in 9f225e992 for gcc

The first argument of vshrq_n_s8 needs to be a signed vector type,
but it was passed unsigned. Clang is more lax with conversion, but
gcc needs a cast.

Fix by me, tested by Masahiko Sawada

Per buildfarm members splitfin, batta, widowbird, snakefly, parula,
massasauga

Discussion: https://postgr.es/m/20240306074106.mg6w4koohdlworbs%40alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/include/port/simd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-03-06 19:41:31 pgsql: Fix type-checking of RECORD-returning functions in FROM.
Previous Message Michael Paquier 2024-03-06 08:24:56 pgsql: Fix parallel-safety check of expressions and predicate for index