mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
6b7940625e
PR: ports/112665 Submitted by: naddy
19 lines
500 B
C++
19 lines
500 B
C++
--- xpdf/Stream.cc.orig 2007-09-03 00:17:03.000000000 +0900
|
|
+++ xpdf/Stream.cc 2007-09-03 00:17:45.000000000 +0900
|
|
@@ -4479,6 +4479,7 @@
|
|
n = 3;
|
|
t = (c0 << 24) | (c1 << 16) | (c2 << 8);
|
|
}
|
|
+ t &= 0xffffffff;
|
|
for (i = 4; i >= 0; --i) {
|
|
buf1[i] = (char)(t % 85 + 0x21);
|
|
t /= 85;
|
|
@@ -4496,6 +4497,7 @@
|
|
eof = gTrue;
|
|
} else {
|
|
t = (c0 << 24) | (c1 << 16) | (c2 << 8) | c3;
|
|
+ t &= 0xffffffff;
|
|
if (t == 0) {
|
|
*bufEnd++ = 'z';
|
|
if (++lineLen == 65) {
|