Skip to content

Commit

Permalink
PGPRO-2844: Use macros PG_INT32_MAX instead of magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-akenteva committed Jul 11, 2019
1 parent ee68be1 commit e34375a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rum_ts_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ Cover(DocRepresentation *doc, uint32 len, QueryRepresentation *qr,

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

ext->p = 0x7fffffff;
ext->p = PG_INT32_MAX;
ext->q = 0;
ptr = doc + ext->pos;

Expand Down

0 comments on commit e34375a

Please sign in to comment.