mirror of
https://github.com/postgres/postgres.git
synced 2026-05-25 02:40:42 -04:00
Use ssize_t where signed results can happen
Noted by Alexander Korotkov
This commit is contained in:
parent
30a6f98ed8
commit
2dde01ccbf
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ tar_write_padding_data(TarMethodFile * f, size_t bytes)
|
|||
{
|
||||
size_t bytestowrite = bytesleft > XLOG_BLCKSZ ? XLOG_BLCKSZ : bytesleft;
|
||||
|
||||
size_t r = tar_write(f, zerobuf, bytestowrite);
|
||||
ssize_t r = tar_write(f, zerobuf, bytestowrite);
|
||||
|
||||
if (r < 0)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue