diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2020-03-23 12:17:11 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2020-03-23 12:36:55 +0000 |
commit | f920c23e2ed3b0e0b773688dd154e5d3ba1cf84b (patch) | |
tree | 5a1c884a106e4cb5ef0452800ce6db85e0372135 | |
parent | f00eb1f7b3ff633f8f0ef57bb6a6ec213bec000c (diff) |
file_xfer: Remove a warning
Avoids:
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | vdagent/file_xfer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vdagent/file_xfer.cpp b/vdagent/file_xfer.cpp index bbaa085..016bd4e 100644 --- a/vdagent/file_xfer.cpp +++ b/vdagent/file_xfer.cpp @@ -86,7 +86,7 @@ void FileXfer::handle_start(VDAgentFileXferStartMessage* start, uint64_t file_size; HANDLE handle; AsUser as_user; - int wlen; + size_t wlen; status->id = start->id; status->result = VD_AGENT_FILE_XFER_STATUS_ERROR; |