|
From: kosmirror <kos...@us...> - 2025-12-12 04:41:07
|
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 d359a4993d2a73a1cfeff70d620bc274c8849387 (commit)
via ef52de0aa0a3648de20b78069919f2a293564656 (commit)
from 6dbd846ce6de7e3611d7e8acf8bd7b34e4b930c1 (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 d359a4993d2a73a1cfeff70d620bc274c8849387
Author: Paul Cercueil <pa...@cr...>
Date: Thu Dec 11 16:15:38 2025 +0100
CI: Build KallistiOS with -Wall -Werror
Consider that warnings are build errors, in order to keep the code as
clean as it can be.
Signed-off-by: Paul Cercueil <pa...@cr...>
commit ef52de0aa0a3648de20b78069919f2a293564656
Author: Paul Cercueil <pa...@cr...>
Date: Thu Dec 11 15:24:14 2025 +0100
sd: Fix warning
Fix assignment from const pointer to non-const pointer variable.
Signed-off-by: Paul Cercueil <pa...@cr...>
-----------------------------------------------------------------------
Summary of changes:
.github/build-kos.sh | 2 +-
kernel/arch/dreamcast/hardware/sd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/build-kos.sh b/.github/build-kos.sh
index f549fb82..9681adab 100755
--- a/.github/build-kos.sh
+++ b/.github/build-kos.sh
@@ -5,4 +5,4 @@ cd /workspace
cp doc/environ.sh.sample environ.sh
sed -i "s/KOS_BASE=.*$/KOS_BASE=\\/workspace/" environ.sh
. environ.sh
-make
+KOS_CFLAGS="$KOS_CFLAGS -Wall -Werror" make
diff --git a/kernel/arch/dreamcast/hardware/sd.c b/kernel/arch/dreamcast/hardware/sd.c
index 84d7622e..6083f8d3 100644
--- a/kernel/arch/dreamcast/hardware/sd.c
+++ b/kernel/arch/dreamcast/hardware/sd.c
@@ -587,7 +587,7 @@ int sd_write_blocks(uint32 block, size_t count, const uint8 *buf) {
int rv, i = 0;
uint8_t byte;
size_t write_count;
- uint8_t *write_buf;
+ const uint8_t *write_buf;
bool retried = false;
if(!initted) {
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|