Skip to content

Commit e34375a

Browse files
committed
PGPRO-2844: Use macros PG_INT32_MAX instead of magic number
1 parent ee68be1 commit e34375a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rum_ts_utils.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ Cover(DocRepresentation *doc, uint32 len, QueryRepresentation *qr,
873873

874874
memset(qr->operandData, 0, sizeof(qr->operandData[0]) * qr->length);
875875

876-
ext->p = 0x7fffffff;
876+
ext->p = PG_INT32_MAX;
877877
ext->q = 0;
878878
ptr = doc + ext->pos;
879879

0 commit comments

Comments
 (0)