Skip to content

Commit

Permalink
Fix 64bit compilation warning issue
Browse files Browse the repository at this point in the history
  • Loading branch information
securesocketfunneling committed Oct 16, 2015
1 parent cdf3d4e commit 7685761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/copy_file/filename_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace copy_file {
FilenameBuffer::FilenameBuffer() : filename_size_(0), filename_() {}

FilenameBuffer::FilenameBuffer(const std::string& filename)
: filename_size_(filename.length()),
: filename_size_(static_cast<uint32_t>(filename.length())),
filename_(filename.cbegin(), filename.cend()) {}

std::string FilenameBuffer::GetFilename() const {
Expand Down

0 comments on commit 7685761

Please sign in to comment.