Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6ea591e

Browse files
committed
Silence warning on new versions of clang.
Andres Freund
1 parent cb3d2df commit 6ea591e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/gin_private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ typedef signed char GinNullCategory;
220220
#define GinSetPostingTree(itup, blkno) ( GinSetNPosting((itup),GIN_TREE_POSTING), ItemPointerSetBlockNumber(&(itup)->t_tid, blkno) )
221221
#define GinGetPostingTree(itup) GinItemPointerGetBlockNumber(&(itup)->t_tid)
222222

223-
#define GIN_ITUP_COMPRESSED (1 << 31)
223+
#define GIN_ITUP_COMPRESSED (1U << 31)
224224
#define GinGetPostingOffset(itup) (GinItemPointerGetBlockNumber(&(itup)->t_tid) & (~GIN_ITUP_COMPRESSED))
225225
#define GinSetPostingOffset(itup,n) ItemPointerSetBlockNumber(&(itup)->t_tid,(n)|GIN_ITUP_COMPRESSED)
226226
#define GinGetPosting(itup) ((Pointer) ((char*)(itup) + GinGetPostingOffset(itup)))

0 commit comments

Comments
 (0)