John Naylor <john.nay...@enterprisedb.com> writes:
> On Sat, Sep 3, 2022 at 12:30 PM Pavel Stehule <pavel.steh...@gmail.com> wrote:
>> /usr/local/pgsql/master/include/server/port/simd.h: In function 
>> ‘vector8_has’:
>> /usr/local/pgsql/master/include/server/port/simd.h:168:27: warning: 
>> comparison of integer expressions of different signedness: ‘int’ and ‘long 
>> unsigned int’ [-Wsign-compare]
>> 168 |         for (int i = 0; i < sizeof(Vector8); i++)

> "int" should probably be "Size" -- does that remove the warning?

Agreed, should be Size or size_t, or else cast the sizeof() result.
But I wonder why none of the buildfarm is showing such a warning.

                        regards, tom lane


Reply via email to