diff --git a/accounts-db/src/account_storage/meta.rs b/accounts-db/src/account_storage/meta.rs
index 1442b4845bf604..69c24d7be75f7d 100644
--- a/accounts-db/src/account_storage/meta.rs
+++ b/accounts-db/src/account_storage/meta.rs
@@ -142,7 +142,7 @@ impl<'storage> StoredAccountMeta<'storage> {
pub fn offset(&self) -> usize {
match self {
Self::AppendVec(av) => av.offset(),
- Self::Hot(hot) => hot.index(),
+ Self::Hot(hot) => hot.index().0 as usize,
}
}
diff --git a/accounts-db/src/tiered_storage/hot.rs b/accounts-db/src/tiered_storage/hot.rs
index d1713ebbb4419f..9cf70529bfb949 100644
--- a/accounts-db/src/tiered_storage/hot.rs
+++ b/accounts-db/src/tiered_storage/hot.rs
@@ -427,7 +427,7 @@ impl HotStorageReader {
pub fn get_account(
&self,
index_offset: IndexOffset,
- ) -> TieredStorageResult