diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-12-26 23:17:12 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-12-26 23:17:12 +0000 |
commit | a0e488cdab1907167d2f02a1b88706aea7f44a79 (patch) | |
tree | 6fa78ceaa64ba709e98c6beefbcba60e00f387aa /test | |
parent | ee435505649c94fcf3908c8745df7fe9fed44b9d (diff) |
Fix warning about assigning literal string constants to a char *
Diffstat (limited to 'test')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index ea29a12b..3b4a82f4 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -3656,7 +3656,7 @@ bool test_compare_detects_attribute_changes() TEST_COMPARE(Compare_Same); // change the timestamp on a file, expect a compare failure - char* testfile = "testfiles\\restore-Test1\\f1.dat"; + const char* testfile = "testfiles\\restore-Test1\\f1.dat"; HANDLE handle = openfile(testfile, O_RDWR, 0); TEST_THAT(handle != INVALID_HANDLE_VALUE); |