From f735627dd3e7c9ef6773afac671b7bf7ec4bf16c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 6 Apr 2015 19:41:30 +0000 Subject: Fix warning caused by saving a const string in a non-const pointer --- test/backupstore/testbackupstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 | -- cgit v1.2.3