From b5325e00c402ec18034da4b4a4aaaefa87bb1fef Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 26 Apr 2025 04:31:00 +0300 Subject: unsigned long is the base type for buffer positions now * This allows handling files >64kb even on 16-bit DOS. * A few flags fields could be squashed into bitfields. * The buffer overview (0EB) has been adapted for DOS. We can only show the total amount of allocated memory (as by tecmem.c) for the time being. Unfortunately, we don't have a total amount of available memory since _memavl() is for small data models and the sbrk() apparently doesn't grow. --- tecundo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tecundo.c') diff --git a/tecundo.c b/tecundo.c index 9dd5feb..84ab874 100644 --- a/tecundo.c +++ b/tecundo.c @@ -99,7 +99,7 @@ register struct cmd_token *ct; hbp = buff_qfind(ut->iarg1,0); if(hbp == NULL){ sprintf(tmp_message,"?Cannot find Q-register <%c>", - ut->iarg1); + (char)ut->iarg1); error_message(tmp_message); return(FAIL); }/* End IF */ -- cgit v1.2.3