diff options
author | Slávek Banko <[email protected]> | 2016-09-03 16:50:48 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 16:50:48 +0200 |
commit | f21cac2973811d8a29010277df24126cede2d7ea (patch) | |
tree | 95dda9796fb653c9de030d8a419f56b2b2059067 | |
parent | 5464e41985e00fe09eb791ddcd919bf151db3348 (diff) | |
download | tdegraphics-f21cac2973811d8a29010277df24126cede2d7ea.tar.gz tdegraphics-f21cac2973811d8a29010277df24126cede2d7ea.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | ksvg/impl/SVGAElementImpl.cc | 2 | ||||
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/DjVuPalette.cpp | 2 |
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 |