summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 16:50:48 +0200
committerSlávek Banko <[email protected]>2016-09-03 16:50:48 +0200
commitf21cac2973811d8a29010277df24126cede2d7ea (patch)
tree95dda9796fb653c9de030d8a419f56b2b2059067
parent5464e41985e00fe09eb791ddcd919bf151db3348 (diff)
downloadtdegraphics-f21cac2973811d8a29010277df24126cede2d7ea.tar.gz
tdegraphics-f21cac2973811d8a29010277df24126cede2d7ea.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
-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