From de8fe7e2a5fb9eac52ad4e79edc758c12697961d Mon Sep 17 00:00:00 2001 From: XinyuHou Date: Tue, 6 Jan 2015 14:51:37 +0000 Subject: [PATCH] fixed compiler cast warning in drag info class --- src/lib/synergy/DragInformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/synergy/DragInformation.cpp b/src/lib/synergy/DragInformation.cpp index 0373183a..7fb2be3c 100644 --- a/src/lib/synergy/DragInformation.cpp +++ b/src/lib/synergy/DragInformation.cpp @@ -101,7 +101,7 @@ DragInformation::getDragFileExtension(String filename) int DragInformation::setupDragInfo(DragFileList& fileList, String& output) { - int size = fileList.size(); + int size = static_cast(fileList.size()); for (int i = 0; i < size; ++i) { output.append(fileList.at(i).getFilename()); output.append(",");