summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreRefCountDatabase.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-06-28 19:25:25 +0000
committerChris Wilson <chris+github@qwirx.com>2009-06-28 19:25:25 +0000
commitb825423ed5c17f244047bddaeaa6cbbb4742ce1a (patch)
tree005b4d928f2cae939b9c9be3f56c1de2ca7fcff2 /lib/backupstore/BackupStoreRefCountDatabase.cpp
parentccf38b0c4d1df1ea1efd215a38f65e6056c7fcea (diff)
Make GetRefCount return a refcount_t rather than an int32_t.
Make refcount_t unsigned and make its definition public.
Diffstat (limited to 'lib/backupstore/BackupStoreRefCountDatabase.cpp')
-rw-r--r--lib/backupstore/BackupStoreRefCountDatabase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreRefCountDatabase.cpp b/lib/backupstore/BackupStoreRefCountDatabase.cpp
index 92ba947d..322c0da7 100644
--- a/lib/backupstore/BackupStoreRefCountDatabase.cpp
+++ b/lib/backupstore/BackupStoreRefCountDatabase.cpp
@@ -247,7 +247,8 @@ void BackupStoreRefCountDatabase::Save()
// Created: 2009/06/01
//
// --------------------------------------------------------------------------
-int32_t BackupStoreRefCountDatabase::GetRefCount(int64_t ObjectID) const
+BackupStoreRefCountDatabase::refcount_t
+BackupStoreRefCountDatabase::GetRefCount(int64_t ObjectID) const
{
IOStream::pos_type offset = GetOffset(ObjectID);