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-12-26 21:36:29 +0100
commitfa029bc2d3bc95fa3ef436b04b62b20aedc4f36f (patch)
treed4b9283fd6b71486e5ef053d9af1ebc84a674b34 /src/KM_log.cpp
parentfc627ac4a9249f36b03d7a754bd65adc32651ba5 (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()));
}
}