summaryrefslogtreecommitdiff
path: root/Tests/LoadCommand
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-02 11:50:14 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-02 11:50:14 -0400
commitee9f9255099e5de585ca88ae104a33522e6a4dd6 (patch)
tree30e4c0f987a265d5e49c973a4f29ea2f7a843b2d /Tests/LoadCommand
parenta37157624bb4a45185898cd0f512a753560de12a (diff)
downloadcmake-ee9f9255099e5de585ca88ae104a33522e6a4dd6.tar.gz
ENH: remove warnings in tests
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r--Tests/LoadCommand/CMakeCommands/cmTestCommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
index e7f8efed1e..cb3fe1f7aa 100644
--- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommand/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;