1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/freebsd-games/files/patch-adventure::hdr.h
Pav Lucistnik 71d639506b - Fix segfault when saving game in adventure
PR:		ports/72165
Submitted by:	Joel Ray Holveck <joelh@piquan.org>
2004-10-11 22:52:00 +00:00

12 lines
336 B
C

--- 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);