From: Matthias Kramm Date: Wed, 11 Feb 2009 12:02:08 +0000 (+0100) Subject: fixed 64 bit compile problem X-Git-Tag: release-0-9-0~117 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=895320ac3571984c21afc59e3dbb046f22c92914 fixed 64 bit compile problem --- 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) {