aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-13 19:50:47 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-13 19:50:47 -0400
commita4af49678a510b0bed58cee5c5113675344ba771 (patch)
tree2fde5ceda7ae62ddd98af406bf85b9d0d6a1c8b4
parent26c117a44a40e542690644378b9ba5bd42a71618 (diff)
downloadbw-atari8-tools-a4af49678a510b0bed58cee5c5113675344ba771.tar.gz
listbas: fix signed vs. unsigned brain-damage in color_on().
-rw-r--r--listbas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listbas.c b/listbas.c
index 26d03a1..dcd303b 100644
--- a/listbas.c
+++ b/listbas.c
@@ -239,7 +239,7 @@ double bcd2double(const unsigned char *num) {
return result;
}
-void color_on(unsigned char c) {
+void color_on(int c) {
cur_color = c;
if(c != NO_COLOR)
printf(COLOR_FMT, bold, c);