From b825423ed5c17f244047bddaeaa6cbbb4742ce1a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 28 Jun 2009 19:25:25 +0000 Subject: Make GetRefCount return a refcount_t rather than an int32_t. Make refcount_t unsigned and make its definition public. --- lib/backupstore/BackupStoreRefCountDatabase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/backupstore/BackupStoreRefCountDatabase.cpp') 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); -- cgit v1.2.3