Commit 3462851b authored by Albert Astals Cid's avatar Albert Astals Cid

* utils/pdftoppm.cc: Fix build on Sun Studio compiler.

        Patch by Brian Cameron <brian.cameron@sun.com>
parent cdf3b906
2007-09-05 Albert Astals Cid <aacid@kde.org>
* utils/pdftoppm.cc: Fix build on Sun Studio compiler.
Patch by Brian Cameron <brian.cameron@sun.com>
2007-09-03 Albert Astals Cid <aacid@kde.org>
* configure.ac: Bump version to 0.6
......
......@@ -111,7 +111,7 @@ clean-local:
rm -rf .libs
maintainer-clean-local: clean
cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt $(DOC_MODULE)-undocumented.txt $(DOC_MODULE)-undeclared.txt
cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
install-data-local:
installfiles=`echo $(srcdir)/html/*`; \
......
......@@ -219,7 +219,7 @@ int main(int argc, char *argv[]) {
gFalse, paperColor);
splashOut->startDoc(doc->getXRef());
if (sz != 0) w = h = sz;
pg_num_len = (int)ceil(log(doc->getNumPages()) / log(10));
pg_num_len = (int)ceil(log((double)doc->getNumPages()) / log((double)10));
for (pg = firstPage; pg <= lastPage; ++pg) {
pg_w = doc->getPageMediaWidth(pg);
pg_h = doc->getPageMediaHeight(pg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment