summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 16:50:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 16:50:59 +0200
commit52553175c0f6b235a203a29aec629708e94679f8 (patch)
tree5dc9aaa33e64b4a338dce383806dddc262a2bfa1
parentaeba5c7132d9ad6a552676571fb21353972f7db4 (diff)
downloadtdegraphics-52553175c0f6b235a203a29aec629708e94679f8.tar.gz
tdegraphics-52553175c0f6b235a203a29aec629708e94679f8.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f21cac2973811d8a29010277df24126cede2d7ea)
-rw-r--r--ksvg/impl/SVGAElementImpl.cc2
-rw-r--r--kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksvg/impl/SVGAElementImpl.cc b/ksvg/impl/SVGAElementImpl.cc
index 153ff5ff..db5342b2 100644
--- a/ksvg/impl/SVGAElementImpl.cc
+++ b/ksvg/impl/SVGAElementImpl.cc
@@ -111,7 +111,7 @@ SVGAElementImpl *SVGAElementImpl::getLink(SVGElementImpl *sourceElem)
}
}
- return false;
+ return 0;
}
// vim:ts=4:noet
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp
index 4e49fe12..98175159 100644
--- a/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp
+++ b/kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp
@@ -66,7 +66,7 @@
#include "BSByteStream.h"
#include "DjVuPalette.h"
#include <stdlib.h>
-#include <math.h>
+#include <cmath>
#ifdef HAVE_NAMESPACES