aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2010-08-24 13:10:48 +0000
committerJohannes Schickel2010-08-24 13:10:48 +0000
commita551faa8a41541fd5529a64d8a6d21844d920569 (patch)
treed7827c5db254079696e0e54b706cee9f0a46f6a2 /engines
parenta85cb60e001cd20553536d0c8852b8d0286a088a (diff)
downloadscummvm-rg350-a551faa8a41541fd5529a64d8a6d21844d920569.tar.gz
scummvm-rg350-a551faa8a41541fd5529a64d8a6d21844d920569.tar.bz2
scummvm-rg350-a551faa8a41541fd5529a64d8a6d21844d920569.zip
COMMON: Constify directoryGlobs variable in ADParams.
svn-id: r52335
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;
};