diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:34:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-11 01:28:41 +0200 |
| commit | 151c66ce6e04a361ba5bc34776cf6f5146fc53b5 (patch) | |
| tree | 4c58212435d919a3f6e62974a559bfd2edf7385f /src/KM_log.cpp | |
| parent | 502ee050855da2af9e73c6be8aa2f6f2d73c52f9 (diff) | |
Fix comparisons between signed and unsigned values.
Diffstat (limited to 'src/KM_log.cpp')
| -rwxr-xr-x | src/KM_log.cpp | 2 |
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())); } } |
