fixed compiler cast warning in drag info class

This commit is contained in:
XinyuHou
2015-01-06 14:51:37 +00:00
parent 95a1752396
commit de8fe7e2a5

View File

@@ -101,7 +101,7 @@ DragInformation::getDragFileExtension(String filename)
int int
DragInformation::setupDragInfo(DragFileList& fileList, String& output) DragInformation::setupDragInfo(DragFileList& fileList, String& output)
{ {
int size = fileList.size(); int size = static_cast<int>(fileList.size());
for (int i = 0; i < size; ++i) { for (int i = 0; i < size; ++i) {
output.append(fileList.at(i).getFilename()); output.append(fileList.at(i).getFilename());
output.append(","); output.append(",");