diff options
Diffstat (limited to 'engines/glk/alan3/utils.cpp')
-rw-r--r-- | engines/glk/alan3/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/alan3/utils.cpp b/engines/glk/alan3/utils.cpp index bcbaa47cb0..9b9b6edbef 100644 --- a/engines/glk/alan3/utils.cpp +++ b/engines/glk/alan3/utils.cpp @@ -69,7 +69,7 @@ void printVersion(int buildNumber) { /*======================================================================*/ -void usage(char *programName) +void usage(const char *programName) { #if (BUILD+0) != 0 printVersion(BUILD); @@ -100,7 +100,7 @@ void usage(char *programName) #define FNM_CASEFOLD 0 #endif /*======================================================================*/ -bool match(char *pattern, char *input) { +bool match(const char *pattern, char *input) { return fnmatch(pattern, input, FNM_CASEFOLD) == 0; } |