From: ljsebald <ljs...@us...> - 2023-11-14 03:46:45
|
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 75cf3932042a8321f40b325948665cadd61ed51e (commit) via 12ef9deb02475981481c43b83fa4720c2ded687f (commit) from 5e0d59d084fe4ecd7a244956dbab36033e77ea83 (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 75cf3932042a8321f40b325948665cadd61ed51e Merge: 5e0d59d 12ef9de Author: Lawrence Sebald <ljs...@us...> Date: Mon Nov 13 17:33:24 2023 -0500 Merge pull request #362 from Dreamcast-Projects/fix_compile Fix KOS compile error and warning commit 12ef9deb02475981481c43b83fa4720c2ded687f Author: Andress Barajas <and...@gm...> Date: Mon Nov 13 14:11:42 2023 -0800 Fix KOS compile error and warning ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/sound/snd_stream.c | 2 +- kernel/libc/koslib/getaddrinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/dreamcast/sound/snd_stream.c b/kernel/arch/dreamcast/sound/snd_stream.c index b379f6f..cea5219 100644 --- a/kernel/arch/dreamcast/sound/snd_stream.c +++ b/kernel/arch/dreamcast/sound/snd_stream.c @@ -328,7 +328,7 @@ int snd_stream_init(void) { } snd_stream_hnd_t snd_stream_alloc(snd_stream_callback_t cb, int bufsize) { - int i, old; + int i; snd_stream_hnd_t hnd; mutex_lock(&stream_mutex); diff --git a/kernel/libc/koslib/getaddrinfo.c b/kernel/libc/koslib/getaddrinfo.c index 4950c9c..f3ea1db 100644 --- a/kernel/libc/koslib/getaddrinfo.c +++ b/kernel/libc/koslib/getaddrinfo.c @@ -707,7 +707,7 @@ int getaddrinfo(const char *nodename, const char *servname, } /* Try to handle input as an IPv4 address */ - if(ihints.ai_family == AI_INET || ihints.ai_family == AF_UNSPEC) { + if(ihints.ai_family == AF_INET || ihints.ai_family == AF_UNSPEC) { uint32_t ip4_addr; if(inet_pton(AF_INET, nodename, &ip4_addr) > 0) { hooks/post-receive -- A pseudo Operating System for the Dreamcast. |