summaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-adventure_crc.c
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2007-03-23 23:02:33 +0000
committerJuergen Lock <nox@FreeBSD.org>2007-03-23 23:02:33 +0000
commit805f53212b166733a8af59ed5501fc22efded809 (patch)
tree0d74e8d7b34041f204caf0250ffdee789f79e988 /games/bsdgames/files/patch-adventure_crc.c
parentUpdate to 1.4.070323 (diff)
Convert freebsd-games to use termios.h instead of sgtty.h
PR: ports/110731 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: miwi (mentor)
Diffstat (limited to 'games/bsdgames/files/patch-adventure_crc.c')
-rw-r--r--games/bsdgames/files/patch-adventure_crc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-adventure_crc.c b/games/bsdgames/files/patch-adventure_crc.c
new file mode 100644
index 000000000000..dfca63e6ab53
--- /dev/null
+++ b/games/bsdgames/files/patch-adventure_crc.c
@@ -0,0 +1,11 @@
+--- adventure/crc.c.bak Sat Feb 23 01:59:45 2002
++++ adventure/crc.c Wed Sep 29 03:29:37 2004
+@@ -120,7 +120,7 @@
+
+ /* Process nr bytes at a time; ptr points to them */
+ u_long
+-crc(const char *ptr, size_t nr)
++crc(const char *ptr, ssize_t nr)
+ {
+ int i;
+ const char *p;