diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-02-09 23:10:47 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-02-09 23:10:47 +0000 |
commit | 4106a7dd54f442a009cadbf5a9ee1bf823d70b32 (patch) | |
tree | cd4aa95db5459a2452cee6b697b1572b846b7a78 /lib/backupclient | |
parent | e429add69506b45e73123990f38667551acbe3ec (diff) |
Fix compile warning
Diffstat (limited to 'lib/backupclient')
-rw-r--r-- | lib/backupclient/BackupClientRestore.cpp | 2 |
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) { |