Skip to content

Commit 729bec5

Browse files
committed
SharedCache: Fix a compile error w/ GCC
1 parent ecfc947 commit 729bec5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

view/sharedcache/core/SlideInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ std::vector<SlideMappingInfo> SlideInfoProcessor::ReadEntryInfo(const MappedFile
223223
mappings.emplace_back(map);
224224
m_logger->LogDebugF("File: {:?}", entry.GetFilePath().c_str());
225225
m_logger->LogDebugF("Slide Info Address: {:#x}", map.address);
226-
m_logger->LogDebugF("Mapping Address: {:#x}", map.mappingInfo.address);
226+
uint64_t mappingAddress = map.mappingInfo.address;
227+
m_logger->LogDebugF("Mapping Address: {:#x}", mappingAddress);
227228
m_logger->LogDebugF("Slide Info Version: {}", map.slideInfoVersion);
228229
}
229230

0 commit comments

Comments
 (0)