We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99164b7 commit 0aaa7cfCopy full SHA for 0aaa7cf
src/include/storage/buf_internals.h
@@ -137,7 +137,7 @@ BufTagGetForkNum(const BufferTag *tag)
137
StaticAssertStmt(MAX_FORKNUM <= INT8_MAX,
138
"MAX_FORKNUM can't be greater than INT8_MAX");
139
140
- ret = (int8) (tag->relForkDetails[0] >> BUFTAG_RELNUM_HIGH_BITS);
+ ret = (ForkNumber) (tag->relForkDetails[0] >> BUFTAG_RELNUM_HIGH_BITS);
141
return ret;
142
}
143
0 commit comments