1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-cc
1999-12-29 07:47:39 +00:00

13 lines
430 B
Plaintext

--- src/bin/ibuild/ibcatalog.c.orig Tue Dec 28 23:51:30 1999
+++ src/bin/ibuild/ibcatalog.c Tue Dec 28 23:51:44 1999
@@ -614,7 +614,8 @@
graylevel = CalcGrayLevel(data[0]);
}
} else if (graylevel == -1) {
- for (int i = 0; in >> _buf && i < patternHeight; i++) {
+ int i;
+ for (i = 0; in >> _buf && i < patternHeight; i++) {
if (_buf[0] == '>' || sscanf(_buf, "%x", &data[i]) != 1) {
break;
}