From 249492ffdbe53add7acd2fdb75f8d9ea92510db3 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 26 Sep 2008 18:04:03 +0000 Subject: [PATCH] fixed 64 bit compile problem --- lib/pdf/BitmapOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 5292f1a..19a52f3 100644 --- a/lib/pdf/BitmapOutputDev.cc +++ b/lib/pdf/BitmapOutputDev.cc @@ -29,6 +29,7 @@ #include "../log.h" #include "../png.h" #include "../devices/record.h" +#include "../types.h" #define UNKNOWN_BOUNDING_BOX 0,0,0,0 @@ -604,7 +605,7 @@ GBool BitmapOutputDev::intersection(int x1, int y1, int x2, int y2) unsigned long long int c=0; assert(sizeof(unsigned long long int)==8); { - if(((int)polypixels&7) || ((int)textpixels&7)) { + if(((ptroff_t)polypixels&7) || ((ptroff_t)textpixels&7)) { //msg(" Non-optimal alignment"); } int l2 = len; -- 1.7.10.4