From d01e804f0f8d0ce1878ec192beb9cbe3dab634d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 17:54:46 +0200 Subject: [PATCH] Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kbarcode/tec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kbarcode/tec.cpp b/kbarcode/tec.cpp index 3d9b5c8..9cdfbc1 100644 --- a/kbarcode/tec.cpp +++ b/kbarcode/tec.cpp @@ -67,14 +67,14 @@ TQString tec452(const TQString &url, int count, const TQString &art, const TQStr TQFile f( filename ); if ( !f.open( IO_ReadOnly ) ) - return false; + return 0; //clearLabel(); TQDomDocument doc( "KBarcodeLabel" ); if ( !doc.setContent( &f ) ) { f.close(); - return false; + return 0; } f.close();