Try to repair poorly-considered code in previous commit.

This commit is contained in:
Robert Haas 2017-08-31 23:09:00 -04:00
parent 81c5e46c49
commit 0d9506d125
1 changed files with 2 additions and 2 deletions

View File

@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS)
{ {
/* Rotation is left to JsonbHashScalarValueExtended() */ /* Rotation is left to JsonbHashScalarValueExtended() */
case WJB_BEGIN_ARRAY: case WJB_BEGIN_ARRAY:
hash ^= ((UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY)); hash ^= ((uint64) JB_FARRAY) << 32 | JB_FARRAY;
break; break;
case WJB_BEGIN_OBJECT: case WJB_BEGIN_OBJECT:
hash ^= ((UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT)); hash ^= ((uint64) JB_FOBJECT) << 32 | JB_FOBJECT;
break; break;
case WJB_KEY: case WJB_KEY:
case WJB_VALUE: case WJB_VALUE: