X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=5422e7d5c7703b3e36eb72e82de353cde93c03e3;hb=f0f4599a8cc05f18859d2bb8d0afe447f3e00813;hp=196c2e6cf35467f910f7b7dbb25ddfd11c6eb1ed;hpb=29543aab8e1996fab6f1c32ee0b57ecd9fa52814;p=swftools.git diff --git a/src/pdf2swf.c b/src/pdf2swf.c index 196c2e6..5422e7d 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -845,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) {