summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:21:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:21:48 +0200
commit89592516252c214530a9d77bec0fe5afb21b0236 (patch)
treece85c0620834afcac714721e9d07eeb1e9ce6679
parent5cb58bf3adc98ab96e16723593b1836d1a25e288 (diff)
downloadtdewebdev-89592516252c214530a9d77bec0fe5afb21b0236.tar.gz
tdewebdev-89592516252c214530a9d77bec0fe5afb21b0236.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kommander/widgets/konsole.cpp2
-rw-r--r--quanta/parts/kafka/kafkacommon.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widgets/konsole.cpp b/kommander/widgets/konsole.cpp
index 728d9b1f..bbfc5309 100644
--- a/kommander/widgets/konsole.cpp
+++ b/kommander/widgets/konsole.cpp
@@ -26,7 +26,7 @@
#include <myprocess.h>
Konsole::Konsole(TQWidget* a_parent, const char* a_name)
- : KTextEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), mSeenEOL(false), mProcess(false)
+ : KTextEdit(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)), mSeenEOL(false), mProcess(0)
{
TQStringList states;
states << "default";
diff --git a/quanta/parts/kafka/kafkacommon.cpp b/quanta/parts/kafka/kafkacommon.cpp
index a445e920..4c59fc3f 100644
--- a/quanta/parts/kafka/kafkacommon.cpp
+++ b/quanta/parts/kafka/kafkacommon.cpp
@@ -959,7 +959,7 @@ Node* kafkaCommon::createMandatoryNodeSubtree(Node *node, Document *doc)
nodeTQTag = QuantaCommon::tagFromDTD(node);
if(!nodeTQTag)
- return false;
+ return 0;
searchForMandatoryNode = true;
currentParent = node;