X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=5422e7d5c7703b3e36eb72e82de353cde93c03e3;hb=f0f4599a8cc05f18859d2bb8d0afe447f3e00813;hp=1c476c11b5b0353fbc3779bf7d977faf37efb980;hpb=33d53306bf9f5faa13bf6e1071d2acf35e1e1c30;p=swftools.git diff --git a/src/pdf2swf.c b/src/pdf2swf.c index 1c476c1..5422e7d 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -623,7 +623,6 @@ int main(int argn, char *argv[]) char t1searchpath[1024]; int nup_pos = 0; int x,y; - char* installPath = getInstallationPath(); int one_file_per_page = 0; initLog(0,-1,0,0,-1,loglevel); @@ -846,8 +845,8 @@ int main(int argn, char *argv[]) if(result->save(result, outputname) < 0) { exit(1); } - int width = (int)result->get(result, "width"); - int height = (int)result->get(result, "height"); + int width = (int)(ptroff_t)result->get(result, "width"); + int height = (int)(ptroff_t)result->get(result, "height"); result->destroy(result);result=0; if(preloader || viewer) {