From 07a83d0b4612698fc216ead32c580341f928c6a9 Mon Sep 17 00:00:00 2001 From: RepellantMold Date: Fri, 5 Apr 2024 21:09:22 -0700 Subject: [PATCH] hmmm... --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index deb817f..f5e8919 100644 --- a/main.c +++ b/main.c @@ -155,7 +155,7 @@ handle_s3m_channels(unsigned char* header) { for (i = 0; i < 32; i++) { (void)!printf("Enter the value for channel %02d (decimal):", (unsigned char)i + 1); if(scanf("%3u", &a) == 1) - header[64 + i] = a; + header[64 + i] = (unsigned char)a; else continue; } }