aboutsummaryrefslogtreecommitdiff
path: root/tecundo.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-26 04:31:00 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-26 04:31:00 +0300
commitb5325e00c402ec18034da4b4a4aaaefa87bb1fef (patch)
treeee833a25466695ab71065e53b536fde54d83302e /tecundo.c
parent96e10b90b1bbd85716df314272e8cad64e256f9d (diff)
downloadvideoteco-fork-b5325e00c402ec18034da4b4a4aaaefa87bb1fef.tar.gz
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.
Diffstat (limited to 'tecundo.c')
-rw-r--r--tecundo.c2
1 files changed, 1 insertions, 1 deletions
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 */