X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=6a615718e2051bee7fb8823794f43adddf2c543e;hb=02324a6b804c8ba7bff6ca581a70b52d84b166e6;hp=41c9fe11591d2b74d1b269e357e24c11264fec87;hpb=96675f516cf632fcbf73898173bfe0b18b04ae6c;p=swftools.git 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