Use void * over u8 *, to be more explicit we're working with raw data, and not just bytes.

The main problem with all my buffer-parsing code so-far is that they
often... always break strict aliasing rules.
Using a `void *` will make these bugs more explicit / noticable.
This commit is contained in:
2025-09-03 22:28:53 +02:00
parent ad9b056dfa
commit bc4855e063
5 changed files with 34 additions and 34 deletions

View File

@@ -14,7 +14,7 @@ MARCH ?= $(shell uname -m)
KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
# compilation flags
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -MMD -MP
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -MMD -MP -Wno-pointer-arith
LDFLAGS += -flto
# architecture/OS detection