From 895320ac3571984c21afc59e3dbb046f22c92914 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Wed, 11 Feb 2009 13:02:08 +0100 Subject: [PATCH] fixed 64 bit compile problem --- src/pdf2swf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.4