diff options
author | David Sterba <dsterba@suse.com> | 2016-11-15 15:05:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-23 10:50:13 +0100 |
commit | bcf81d9457fc33b5b21cc5414e17d75e5e75c4d4 (patch) | |
tree | 030060028c0a9e8c6e95ca5f3c9f2304b7bb8fff /send-stream.c | |
parent | f9834e87d412282e4f7a7a81c04df7d91aa1652c (diff) |
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>
Diffstat (limited to 'send-stream.c')
-rw-r--r-- | send-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/send-stream.c b/send-stream.c index c8419ac3..913a17ff 100644 --- a/send-stream.c +++ b/send-stream.c @@ -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; |