[Box Backup-commit] COMMIT r3548 - box/trunk/test/backupstore
subversion at boxbackup.org
subversion at boxbackup.org
Mon Apr 6 20:41:30 BST 2015
Author: chris
Date: 2015-04-06 19:41:30 +0000 (Mon, 06 Apr 2015)
New Revision: 3548
Modified:
box/trunk/test/backupstore/testbackupstore.cpp
Log:
Fix warning caused by saving a const string in a non-const pointer
Modified: box/trunk/test/backupstore/testbackupstore.cpp
===================================================================
--- box/trunk/test/backupstore/testbackupstore.cpp 2015-04-06 19:41:26 UTC (rev 3547)
+++ box/trunk/test/backupstore/testbackupstore.cpp 2015-04-06 19:41:30 UTC (rev 3548)
@@ -2739,7 +2739,7 @@
{
#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 |
More information about the Boxbackup-commit
mailing list