1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/xkobo/files/patch-af
Chris D. Faulhaber 430ae55a49 Fix the new compiler problem as reported by bento.
PR:		16385
Submitted by:	Maintainer
With help from:	Alex Langer <alex@big.endian.de>
2000-01-28 00:45:32 +00:00

21 lines
444 B
Plaintext

--- file.C.old Tue Jan 18 19:16:42 2000
+++ file.C Tue Jan 18 19:17:07 2000
@@ -42,7 +42,7 @@
ret = -2;
break;
}
- t += i;
+ t = (void *) ((int) t + i);
len -= i;
} while (len > 0);
for (;;){
@@ -68,7 +68,7 @@
ret = -2;
break;
}
- t += i;
+ t = (void *) ((int) t + i);
len -= i;
} while (len > 0);
for (;;){