[HACKERS] Fix warnings and typo in dshash - Mailing list pgsql-hackers

From Amit Kapila
Subject [HACKERS] Fix warnings and typo in dshash
Date
Msg-id CAA4eK1+5vfVMYtjK_NX8O3-42yM3o80qdqWnQzGquPrbq6mb+A@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Fix warnings and typo in dshash  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: [HACKERS] Fix warnings and typo in dshash  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I am seeing below warnings (on Win7) in dshash.c

1>  dshash.c
1>src/backend/lib/dshash.c(318): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)
1>src/backend/lib/dshash.c(679): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)
1>src/backend/lib/dshash.c(713): warning C4334: '<<' : result of
32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)

Attached a patch to fix the above warning.

I have noticed a typo in dshash.h for which a separate patch is attached.


-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] JIT & function naming
Next
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] JIT & function naming