From da3b77447ac8ae1de0e0673fc9a76a8bfc08d6da Mon Sep 17 00:00:00 2001 From: jerry Date: Tue, 6 May 2014 19:54:02 +0000 Subject: [PATCH] fixed warning on 10.6 and 10.5 --- 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 882f0dd8..0142e033 100644 --- a/src/lib/synergy/DragInformation.cpp +++ b/src/lib/synergy/DragInformation.cpp @@ -42,7 +42,7 @@ CDragInformation::parseDragInfo(CDragFileList& dragFileList, UInt32 fileNum, CSt slash = "/"; } - int index = 0; + UInt32 index = 0; while (index < fileNum) { findResult1 = data.find(',', startPos); findResult2 = data.find_last_of(slash, findResult1);