summaryrefslogtreecommitdiff
path: root/src/KM_log.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-06 20:34:06 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-11 01:28:41 +0200
commit151c66ce6e04a361ba5bc34776cf6f5146fc53b5 (patch)
tree4c58212435d919a3f6e62974a559bfd2edf7385f /src/KM_log.cpp
parent502ee050855da2af9e73c6be8aa2f6f2d73c52f9 (diff)
Fix comparisons between signed and unsigned values.
Diffstat (limited to 'src/KM_log.cpp')
-rwxr-xr-xsrc/KM_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KM_log.cpp b/src/KM_log.cpp
index d820dba..1a9354a 100755
--- a/src/KM_log.cpp
+++ b/src/KM_log.cpp
@@ -152,7 +152,7 @@ Kumu::StreamLogSink::WriteEntry(const LogEntry& Entry)
{
Entry.CreateStringWithOptions(buf, m_options);
ssize_t n = write(m_fd, buf.c_str(), buf.size());
- assert(n==buf.size());
+ assert(n==static_cast<ssize_t>(buf.size()));
}
}