From: kramm Date: Sun, 19 Nov 2006 21:37:59 +0000 (+0000) Subject: fixed path to pdf.h X-Git-Tag: release-0-8-0~118 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=sidebyside;h=02324a6b804c8ba7bff6ca581a70b52d84b166e6;p=swftools.git fixed path to pdf.h fixed g++ warning --- diff --git a/src/pdf2swf.c b/src/pdf2swf.c index 41c9fe1..6a61571 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -36,7 +36,7 @@ #include "../lib/rfxswf.h" #include "../lib/devices/swf.h" #include "../lib/devices/arts.h" -#include "../lib/xpdf/pdf.h" +#include "../lib/pdf/pdf.h" #include "../lib/log.h" #define SWFDIR concatPaths(getInstallationPath(), "swfs") @@ -629,9 +629,9 @@ int main(int argn, char *argv[]) int t = y*xnup + x; if(pages[t].page->width > xmax[x]) - xmax[x] = pages[t].page->width; + xmax[x] = (int)pages[t].page->width; if(pages[t].page->height > ymax[y]) - ymax[y] = pages[t].page->height; + ymax[y] = (int)pages[t].page->height; } for(x=0;x