From 71d639506b5570077c1f3260847f20a0c5dbeb38 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 11 Oct 2004 22:52:00 +0000 Subject: - Fix segfault when saving game in adventure PR: ports/72165 Submitted by: Joel Ray Holveck --- games/bsdgames/files/patch-adventure::hdr.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games/bsdgames/files/patch-adventure::hdr.h (limited to 'games/bsdgames/files/patch-adventure::hdr.h') diff --git a/games/bsdgames/files/patch-adventure::hdr.h b/games/bsdgames/files/patch-adventure::hdr.h new file mode 100644 index 000000000000..02344c9191b4 --- /dev/null +++ b/games/bsdgames/files/patch-adventure::hdr.h @@ -0,0 +1,11 @@ +--- adventure/hdr.h.bak Mon Nov 10 15:46:52 2003 ++++ adventure/hdr.h Wed Sep 29 03:30:55 2004 +@@ -167,7 +167,7 @@ + void checkhints (void); + void ciao (void); + extern gid_t egid; +-u_long crc (const char *ptr, size_t nr); ++u_long crc (const char *ptr, ssize_t nr); + void crc_start (void); + int dark (void); + void datime (int *d, int *t); -- cgit v1.2.3