Avoid too-large shift on 32-bit Windows.

Robert Haas <rhaas@postgresql.org>

Commit: 343bb134ea20d3b7286c620c15a067da79cab724
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-10-30T13:14:56Z
Releases: 9.4.0
Avoid too-large shift on 32-bit Windows.

Apparently, shifts greater than or equal to the width of the type
are undefined, and can surprisingly produce a non-zero value.

Amit Kapila, with a comment by me.

Files

PathChange+/−
src/backend/storage/ipc/dsm_impl.c modified +11 −2