summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommandOneConfig')
-rw-r--r--Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
index e7f8efe..cb3fe1f 100644
--- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c
@@ -13,7 +13,7 @@ typedef struct
static int InitialPass(void *inf, void *mf, int argc, char *argv[])
{
char* file;
- char* str;
+ const char* str;
char buffer[1024];
void *source_file;
cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf;