btrfs-progs: send-stream: use proper type for cmd in read_cmd

We just read and assign the value, there's no reason to use different
types.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2016-11-15 15:05:46 +01:00
parent f9834e87d4
commit bcf81d9457
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ out:
static int read_cmd(struct btrfs_send_stream *sctx)
{
int ret;
int cmd;
u16 cmd;
u32 cmd_len;
char *data;
u32 pos;