aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/advancedDetector.cpp2
-rw-r--r--engines/advancedDetector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index f4af4a8500..15909463bc 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -349,7 +349,7 @@ static void reportUnknown(const Common::FSNode &path, const SizeMD5Map &filesSiz
static ADGameDescList detectGameFilebased(const FileMap &allFiles, const ADParams &params);
-static void composeFileHashMap(const Common::FSList &fslist, FileMap &allFiles, int depth, const char **directoryGlobs) {
+static void composeFileHashMap(const Common::FSList &fslist, FileMap &allFiles, int depth, const char * const *directoryGlobs) {
if (depth <= 0)
return;
diff --git a/engines/advancedDetector.h b/engines/advancedDetector.h
index 1e59df04bf..0072bdafb2 100644
--- a/engines/advancedDetector.h
+++ b/engines/advancedDetector.h
@@ -207,7 +207,7 @@ struct ADParams {
*
* @note Last item must be 0
*/
- const char **directoryGlobs;
+ const char * const *directoryGlobs;
};