From: kosmirror <kos...@us...> - 2025-05-20 20:14:44
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via b45535a7cee6f8164165d29ff95a6c0ec40c8de6 (commit) from 7cd49f8777ae38a8dc533f751c0fa3b51f7c1c47 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b45535a7cee6f8164165d29ff95a6c0ec40c8de6 Author: QuzarDC <qu...@co...> Date: Sat May 17 18:14:31 2025 -0400 mrbtris: Fix incompatible type error `read_buttons` had no params (not even `void`) and gcc finally sees that this is a problem. Added anonymous `void *` to match `thd_create`. ----------------------------------------------------------------------- Summary of changes: examples/dreamcast/mruby/mrbtris/dckos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dreamcast/mruby/mrbtris/dckos.c b/examples/dreamcast/mruby/mrbtris/dckos.c index b8b23ffd..894fd2ed 100644 --- a/examples/dreamcast/mruby/mrbtris/dckos.c +++ b/examples/dreamcast/mruby/mrbtris/dckos.c @@ -52,7 +52,7 @@ struct InputBuf { static mrb_value btn_mrb_buffer; // buf has to be BUFSIZE elements at least -void *read_buttons() { +void *read_buttons(void*) { while(1) { input_buf.index = (input_buf.index + 1) % BUFSIZE; //printf("index: %" PRIu32 "\n", buf_index); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |