diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/sort/logtape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index 666a7c0e81c..4984f8ce50a 100644 --- a/src/backend/utils/sort/logtape.c +++ b/src/backend/utils/sort/logtape.c @@ -782,7 +782,7 @@ LogicalTapeWrite(LogicalTapeSet *lts, int tapenum, Assert(lt->buffer_size == BLCKSZ); while (size > 0) { - if (lt->pos >= TapeBlockPayloadSize) + if (lt->pos >= (int) TapeBlockPayloadSize) { /* Buffer full, dump it out */ long nextBlockNumber; |