From 4cd9f26303b29073f4140d9005a122d9232130b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Kl=C3=B6tzl?= Date: Tue, 23 Feb 2016 18:49:13 +0100 Subject: [PATCH] Fixes build failure with GCC6 Without this patch, libgtextutils fails to build with GCC6 [1]. See [2] for further details. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811646 [2] https://gcc.gnu.org/gcc-6/porting_to.html --- src/gtextutils/text_line_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtextutils/text_line_reader.cpp b/src/gtextutils/text_line_reader.cpp index fede933..28299e5 100644 --- a/src/gtextutils/text_line_reader.cpp +++ b/src/gtextutils/text_line_reader.cpp @@ -44,6 +44,6 @@ bool TextLineReader::next_line() if (input_stream.eof()) return false; - return input_stream ; + return static_cast(input_stream) ; }