fix ASCII85 encoding on LP64 archs

This commit is contained in:
naddy 2007-08-25 14:42:37 +00:00
parent 55b2430e45
commit ad83bdd8a8
2 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.55 2007/07/31 21:22:16 naddy Exp $
# $OpenBSD: Makefile,v 1.56 2007/08/25 14:42:37 naddy Exp $
COMMENT= PDF viewer for X11
DISTNAME= xpdf-3.02
PKGNAME= xpdf-3.02pl1
PKGNAME= xpdf-3.02pl1p0
CATEGORIES= textproc x11
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-xpdf_Stream_cc,v 1.3 2007/08/25 14:42:38 naddy Exp $
--- xpdf/Stream.cc.orig Fri Aug 17 00:55:46 2007
+++ xpdf/Stream.cc Fri Aug 17 00:56:21 2007
@@ -4451,7 +4451,7 @@ void ASCII85Encoder::reset() {
}
GBool ASCII85Encoder::fillBuf() {
- Gulong t;
+ Guint t;
char buf1[5];
int c0, c1, c2, c3;
int n, i;