From: Robert Haas Date: Fri, 1 Sep 2017 03:09:00 +0000 (-0400) Subject: Try to repair poorly-considered code in previous commit. X-Git-Tag: REL_11_BETA1~1703 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d9506d125beef18247a5e38a219d3b23e2d312e;p=postgresql Try to repair poorly-considered code in previous commit. --- diff --git a/src/backend/utils/adt/jsonb_op.c b/src/backend/utils/adt/jsonb_op.c index c4a7dc3f13..52a7e19a54 100644 --- a/src/backend/utils/adt/jsonb_op.c +++ b/src/backend/utils/adt/jsonb_op.c @@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS) { /* Rotation is left to JsonbHashScalarValueExtended() */ case WJB_BEGIN_ARRAY: - hash ^= ((UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY)); + hash ^= ((uint64) JB_FARRAY) << 32 | JB_FARRAY; break; case WJB_BEGIN_OBJECT: - hash ^= ((UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT)); + hash ^= ((uint64) JB_FOBJECT) << 32 | JB_FOBJECT; break; case WJB_KEY: case WJB_VALUE: