From 151c66ce6e04a361ba5bc34776cf6f5146fc53b5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Apr 2020 20:34:06 +0200 Subject: Fix comparisons between signed and unsigned values. --- src/KM_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/KM_log.cpp') 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(buf.size())); } } -- cgit v1.2.3