Fix warnings and typo in dshash
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-03T06:57:12Z
Lists: pgsql-hackers
Attachments
- fix_warnings_dshash_v1.patch (application/octet-stream) patch v1
- fix_typo_dshash_v1.patch (application/octet-stream) patch v1
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
Commits
-
Minor clean-up in dshash.{c,h}.
- 17b340abf83d 11.0 landed
-
Suppress compiler warnings in dshash.c.
- 4faa1dc2eb02 11.0 landed
-
Fix macro-redefinition warning on MSVC.
- e451901804bd 11.0 landed
- d5c65d2f11ac 10.0 landed
- a64a0bfaae0c 9.2.24 landed
- a4b0a4d437dc 9.6.6 landed
- a42f8d979299 9.3.20 landed
- 1d30553aa235 9.5.10 landed
- 143fcf90b158 9.4.15 landed