Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90051cd

Browse files
Silence nbtree.h cpluspluscheck warning.
Add a cast to size_t to silence "comparison between signed and unsignedinteger expressions" cpluspluscheck warning.Reported-By: Tom LaneDiscussion:https://postgr.es/m/7971.1583171266@sss.pgh.pa.us
1 parent77b88bd commit90051cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/access/nbtree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ static inline void
381381
BTreeTupleSetPosting(IndexTupleitup,intnhtids,intpostingoffset)
382382
{
383383
Assert(nhtids>1&& (nhtids&BT_OFFSET_MASK)==nhtids);
384-
Assert(postingoffset==MAXALIGN(postingoffset));
384+
Assert((size_t)postingoffset==MAXALIGN(postingoffset));
385385
Assert(postingoffset<INDEX_SIZE_MASK);
386386

387387
itup->t_info |=INDEX_ALT_TID_MASK;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp