freebsd-ports/japanese/iv/files/patch-bv
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

15 lines
431 B
Plaintext

--- src/lib/Unidraw/psview.c.org Mon Jan 3 14:40:35 2000
+++ src/lib/Unidraw/psview.c Mon Jan 3 15:15:12 2000
@@ -992,9 +992,10 @@
if (dashpatsize <= 0) {
out << "[] " << dashoffset << " ";
} else {
+ int i;
out << "[";
- for (int i = 0; i < dashpatsize - 1; i++) {
+ for (i = 0; i < dashpatsize - 1; i++) {
out << dashpat[i] << " ";
}
out << dashpat[i] << "] " << dashoffset << " ";