From 02324a6b804c8ba7bff6ca581a70b52d84b166e6 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 19 Nov 2006 21:37:59 +0000 Subject: [PATCH] fixed path to pdf.h fixed g++ warning --- src/pdf2swf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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