forked from Mirrors/btrfs-progs
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
parent
f9834e87d4
commit
bcf81d9457
|
@ -72,7 +72,7 @@ out:
|
||||||
static int read_cmd(struct btrfs_send_stream *sctx)
|
static int read_cmd(struct btrfs_send_stream *sctx)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
int cmd;
|
u16 cmd;
|
||||||
u32 cmd_len;
|
u32 cmd_len;
|
||||||
char *data;
|
char *data;
|
||||||
u32 pos;
|
u32 pos;
|
||||||
|
|
Loading…
Reference in New Issue