diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 4a08edc..a19018e 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1236,7 +1236,7 @@ bool br::Context::checkSDKPath(const QString &sdkPath) // Since we can't ensure that it gets deleted last, we never delete it. static QCoreApplication *application = NULL; -void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useGui) +void br::Context::initialize(int &argc, char **argv, QString sdkPath, bool useGui) { QString sep; #ifndef _WIN32 diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 122d5aa..12a95f4 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -540,7 +540,7 @@ public: int timeRemaining() const; static bool checkSDKPath(const QString &sdkPath); - static void initialize(int &argc, char *argv[], QString sdkPath = "", bool useGui = true); + static void initialize(int &argc, char **argv, QString sdkPath = "", bool useGui = true); static void finalize(); static QString about(); static QString version();