diff --git a/Source/NSView.m b/Source/NSView.m index 5007a8ac5..a5cc14c05 100644 --- a/Source/NSView.m +++ b/Source/NSView.m @@ -4239,7 +4239,7 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level) NSGraphicsContext *ctxt = [printOp context]; NSSize paperSize = [info paperSize]; float scale = (double)([self frame].size.width/paperSize.width); - float xoff = 0; + float xoff = 0.0; float yoff = (paperSize.height - self.frame.size.height) / scale; [ctxt beginPage: ordinalNum