libzfs_sendrecv: Use size_t for payload_len
We won't be passing a negative value here, so make it clear. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org> Closes #12967
This commit is contained in:
parent
3c617c7921
commit
01a0039ac9
|
@ -86,7 +86,7 @@ typedef struct progress_arg {
|
|||
} progress_arg_t;
|
||||
|
||||
static int
|
||||
dump_record(dmu_replay_record_t *drr, void *payload, int payload_len,
|
||||
dump_record(dmu_replay_record_t *drr, void *payload, size_t payload_len,
|
||||
zio_cksum_t *zc, int outfd)
|
||||
{
|
||||
ASSERT3U(offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
|
||||
|
|
Loading…
Reference in New Issue