[Box Backup-commit] COMMIT r3502 - box/trunk/test/bbackupd

subversion at boxbackup.org subversion at boxbackup.org
Fri Dec 26 23:17:12 GMT 2014


Author: chris
Date: 2014-12-26 23:17:12 +0000 (Fri, 26 Dec 2014)
New Revision: 3502

Modified:
   box/trunk/test/bbackupd/testbbackupd.cpp
Log:
Fix warning about assigning literal string constants to a char *

Modified: box/trunk/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/trunk/test/bbackupd/testbbackupd.cpp	2014-12-26 23:17:09 UTC (rev 3501)
+++ box/trunk/test/bbackupd/testbbackupd.cpp	2014-12-26 23:17:12 UTC (rev 3502)
@@ -3656,7 +3656,7 @@
 		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);
 		




More information about the Boxbackup-commit mailing list