[Box Backup-commit] COMMIT r1279 - box/chris/merge/lib/backupclient

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Fri, 09 Feb 2007 23:10:48 +0000


Author: chris
Date: 2007-02-09 23:10:47 +0000 (Fri, 09 Feb 2007)
New Revision: 1279

Modified:
   box/chris/merge/lib/backupclient/BackupClientRestore.cpp
Log:
Fix compile warning


Modified: box/chris/merge/lib/backupclient/BackupClientRestore.cpp
===================================================================
--- box/chris/merge/lib/backupclient/BackupClientRestore.cpp	2007-02-09 23:10:25 UTC (rev 1278)
+++ box/chris/merge/lib/backupclient/BackupClientRestore.cpp	2007-02-09 23:10:47 UTC (rev 1279)
@@ -288,7 +288,7 @@
 		parentDirectoryName.resize(parentDirectoryName.size() - 1);
 	}
 
-	int lastSlash = parentDirectoryName.rfind(DIRECTORY_SEPARATOR_ASCHAR);
+	size_t lastSlash = parentDirectoryName.rfind(DIRECTORY_SEPARATOR_ASCHAR);
 
 	if(lastSlash == std::string::npos)
 	{