diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-04-06 19:41:30 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-04-06 19:41:30 +0000 |
commit | f735627dd3e7c9ef6773afac671b7bf7ec4bf16c (patch) | |
tree | e11dce4dc4a5deee75c98f873f32e17b34dbbf77 /test/backupstore | |
parent | 5a1512912e369b8df78769a4a9ebd89c92e4556b (diff) |
Fix warning caused by saving a const string in a non-const pointer
Diffstat (limited to 'test/backupstore')
-rw-r--r-- | test/backupstore/testbackupstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/backupstore/testbackupstore.cpp b/test/backupstore/testbackupstore.cpp index a39fd1ff..9c548400 100644 --- a/test/backupstore/testbackupstore.cpp +++ b/test/backupstore/testbackupstore.cpp @@ -2739,7 +2739,7 @@ bool test_open_files_with_limited_win32_permissions() { #ifdef WIN32 // this had better work, or bbstored will die when combining diffs - char* file = "foo"; + const char* file = "foo"; DWORD accessRights = FILE_READ_ATTRIBUTES | FILE_LIST_DIRECTORY | FILE_READ_EA | FILE_WRITE_ATTRIBUTES | |