diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:34:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-26 21:36:29 +0100 |
| commit | fa029bc2d3bc95fa3ef436b04b62b20aedc4f36f (patch) | |
| tree | d4b9283fd6b71486e5ef053d9af1ebc84a674b34 /src/KM_log.cpp | |
| parent | fc627ac4a9249f36b03d7a754bd65adc32651ba5 (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())); } } |
