From 19d08e7e1f3042ece60318f832b9964859a95bb4 Mon Sep 17 00:00:00 2001 From: Vincent Barrilliot Date: Thu, 9 Dec 2021 23:09:08 +0100 Subject: [PATCH] Remove useless cast to (void*) in fsys.c --- src/dev/fsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/fsys.c b/src/dev/fsys.c index 0a40817..6f37295 100644 --- a/src/dev/fsys.c +++ b/src/dev/fsys.c @@ -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 {