summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 14:50:48 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-09-03 14:50:48 (GMT)
commitf21cac2973811d8a29010277df24126cede2d7ea (patch)
tree95dda9796fb653c9de030d8a419f56b2b2059067
parent5464e41985e00fe09eb791ddcd919bf151db3348 (diff)
downloadtdegraphics-f21cac29.zip
tdegraphics-f21cac29.tar.gz
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 153ff5f..db5342b 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 4e49fe1..9817515 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