Remove useless cast to (void*) in fsys.c

This commit is contained in:
Vincent Barrilliot 2021-12-09 23:09:08 +01:00
parent f95099cf41
commit 19d08e7e1f

View file

@ -539,7 +539,7 @@ short fchan_read_b(t_channel * chan) {
file = fchan_to_file(chan);
if (file) {
result = f_read(file, (void*)buffer, 1, (UINT*)&total_read);
result = f_read(file, buffer, 1, (UINT*)&total_read);
if (result == FR_OK) {
return (short)(buffer[0] & 0x00ff);
} else {