From bf52f83384752194d296044bbb47c971afb27c55 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Mon, 18 Dec 2023 21:55:58 -0800 Subject: [PATCH] Make the readtext() prototype actually match the declaration in sbbs.h This is hacky cruft here. We shouldn't have the declaration in multiple places. It probably shouldn't be in sbbs.h. --- src/sbbs3/readtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/readtext.c b/src/sbbs3/readtext.c index 7ca4939dc8..ff0cbec422 100644 --- a/src/sbbs3/readtext.c +++ b/src/sbbs3/readtext.c @@ -28,7 +28,7 @@ int lprintf(int level, const char *fmt, ...); /* log output */ /* Reads special TEXT.DAT printf style text lines, splicing multiple lines, */ /* replacing escaped characters, and allocating the memory */ /****************************************************************************/ -char *readtext(long *line,FILE *stream,long dflt) +char *readtext(int *line,FILE *stream,int dflt) { char buf[MAX_TEXTDAT_ITEM_LEN+256],str[MAX_TEXTDAT_ITEM_LEN+1],tmp[256],*p,*p2; int i,j,k; -- GitLab