aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/utils.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-26 19:37:00 -0700
committerPaul Gilbert2019-07-06 15:27:07 -0700
commit2de068a98aaeb8a1e9e8f2e719b5ff6ebf858b44 (patch)
tree8b3d3f2a5839adfbac135682de9966913463ff9f /engines/glk/alan3/utils.cpp
parent305330bda7e755f141805a4e0e45f74820e980e1 (diff)
downloadscummvm-rg350-2de068a98aaeb8a1e9e8f2e719b5ff6ebf858b44.tar.gz
scummvm-rg350-2de068a98aaeb8a1e9e8f2e719b5ff6ebf858b44.tar.bz2
scummvm-rg350-2de068a98aaeb8a1e9e8f2e719b5ff6ebf858b44.zip
GLK: ALAN3: Further warning fixes
Diffstat (limited to 'engines/glk/alan3/utils.cpp')
-rw-r--r--engines/glk/alan3/utils.cpp4
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;
}