Skip to content

Commit

Permalink
hmmm...
Browse files Browse the repository at this point in the history
  • Loading branch information
RepellantMold committed Apr 6, 2024
1 parent d497967 commit 07a83d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 07a83d0

Please sign in to comment.