summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-02-09 23:10:47 +0000
committerChris Wilson <chris+github@qwirx.com>2007-02-09 23:10:47 +0000
commit4106a7dd54f442a009cadbf5a9ee1bf823d70b32 (patch)
treecd4aa95db5459a2452cee6b697b1572b846b7a78
parente429add69506b45e73123990f38667551acbe3ec (diff)
Fix compile warning
-rw-r--r--lib/backupclient/BackupClientRestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupclient/BackupClientRestore.cpp b/lib/backupclient/BackupClientRestore.cpp
index e7fdd5fa..ec4ca681 100644
--- a/lib/backupclient/BackupClientRestore.cpp
+++ b/lib/backupclient/BackupClientRestore.cpp
@@ -288,7 +288,7 @@ static int BackupClientRestoreDir(BackupProtocolClient &rConnection, int64_t Dir
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)
{