In BufTagGetForkNum, cast to the correct type.
Another defect in 05d4cbf9b6ba708858984b01ca0fc56d59d4ec7c. Per CI, via Justin Pryzby. Discussion: http://postgr.es/m/20220927200712.GH6256@telsasoft.com
This commit is contained in:
parent
99164b7ea6
commit
0aaa7cf698
@ -137,7 +137,7 @@ BufTagGetForkNum(const BufferTag *tag)
|
||||
StaticAssertStmt(MAX_FORKNUM <= INT8_MAX,
|
||||
"MAX_FORKNUM can't be greater than INT8_MAX");
|
||||
|
||||
ret = (int8) (tag->relForkDetails[0] >> BUFTAG_RELNUM_HIGH_BITS);
|
||||
ret = (ForkNumber) (tag->relForkDetails[0] >> BUFTAG_RELNUM_HIGH_BITS);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user