fix: violating strict aliasing rules in most areas in the new code.

Yes, I am aware there are plenty of violations in `conf.c`, but I'll
likely fix/rewrite those when I will use it. Since there are some other
changes I think I'll want to make.
This commit is contained in:
2025-09-04 11:13:07 +02:00
parent 3a0704710c
commit b13de01f24
3 changed files with 85 additions and 56 deletions

View File

@@ -37,8 +37,8 @@ enum nbt_tagid {
};
struct nbt_array {
i32 len;
u8 dat[];
i32 nmemb;
void *dat;
};