From 5f6c71df18a65d5c4023caa08e08f493090c3721 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 7 Aug 2024 14:53:52 +0200 Subject: wip --- modules/io_codec/c++/io_peer.tmpl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/io_codec/c++/io_peer.tmpl.hpp') diff --git a/modules/io_codec/c++/io_peer.tmpl.hpp b/modules/io_codec/c++/io_peer.tmpl.hpp index d6d6364..f4f965f 100644 --- a/modules/io_codec/c++/io_peer.tmpl.hpp +++ b/modules/io_codec/c++/io_peer.tmpl.hpp @@ -89,7 +89,7 @@ template streaming_io_peer::send(data msg) { - bool restart_write = out_buffer_.read_segment_length() == 0; + bool restart_write = (out_buffer_.read_segment_length() == 0u); /* if (eov.is_error()) { @@ -97,7 +97,7 @@ error_or streaming_io_peerwrite(&out_buffer_.read(), out_buffer_.read_segment_length()); } -- cgit v1.2.3