From 4106a7dd54f442a009cadbf5a9ee1bf823d70b32 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 9 Feb 2007 23:10:47 +0000 Subject: Fix compile warning --- lib/backupclient/BackupClientRestore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3