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;