aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-13 11:08:55 +0200
committerMartin Ridgers <[email protected]>2021-10-13 11:08:55 +0200
commit143b23058b714195837d754c66d13d4a502ce30a (patch)
tree057e79651666f2f7ed1a2914cda662023df2018d
parentMoved zencore/windows.h include from basicfile.h to basicfile.cpp (diff)
downloadzen-143b23058b714195837d754c66d13d4a502ce30a.tar.xz
zen-143b23058b714195837d754c66d13d4a502ce30a.zip
Signed/unsigned comparison mismatch
-rw-r--r--zenstore/caslog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/caslog.cpp b/zenstore/caslog.cpp
index 5fd26abe2..449e2fc58 100644
--- a/zenstore/caslog.cpp
+++ b/zenstore/caslog.cpp
@@ -121,7 +121,7 @@ CasLogFile::Replay(std::function<void(const void*)>&& Handler)
m_File.Read(ReadBuffer.data(), LogDataSize, LogBaseOffset);
- for (int i = 0; i < LogEntryCount; ++i)
+ for (int i = 0; i < int(LogEntryCount); ++i)
{
Handler(ReadBuffer.data() + (i * m_RecordSize));
}