fixed 64 bit compile problem
authorMatthias Kramm <kramm@quiss.org>
Wed, 11 Feb 2009 12:02:08 +0000 (13:02 +0100)
committerMatthias Kramm <kramm@quiss.org>
Wed, 11 Feb 2009 12:02:08 +0000 (13:02 +0100)
src/pdf2swf.c

index 196c2e6..5422e7d 100644 (file)
@@ -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) {