Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2015-06-16 17:37:04 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2015-06-17 15:32:34 +0300
commitc98bcc8e9e4e14f7288d5be09701cf96f932f29a (patch)
treefe34f50fa13936fafc1d11476d62f439dd2ac71d /src/gui/folderwatcher_mac.cpp
parenta4f519eaeb7b5bf652c2308fc02817d92585e056 (diff)
OS X: Fix a few warnings
Diffstat (limited to 'src/gui/folderwatcher_mac.cpp')
-rw-r--r--src/gui/folderwatcher_mac.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_mac.cpp b/src/gui/folderwatcher_mac.cpp
index 99077542a..9a165387f 100644
--- a/src/gui/folderwatcher_mac.cpp
+++ b/src/gui/folderwatcher_mac.cpp
@@ -47,11 +47,15 @@ static void callback(
const FSEventStreamEventFlags eventFlags[],
const FSEventStreamEventId eventIds[])
{
+ Q_UNUSED(streamRef)
+ Q_UNUSED(eventFlags)
+ Q_UNUSED(eventIds)
+
qDebug() << "FolderWatcherPrivate::callback by OS X";
QStringList paths;
CFArrayRef eventPaths = (CFArrayRef)eventPathsVoid;
- for (int i = 0; i < numEvents; ++i) {
+ for (int i = 0; i < static_cast<int>(numEvents); ++i) {
CFStringRef path = reinterpret_cast<CFStringRef>(CFArrayGetValueAtIndex(eventPaths, i));
QString qstring;