From 3aa1183d3f9032d1d17c295e3f3a1dbeab57ab66 Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 30 Sep 2024 21:31:21 +1000 Subject: assert that assets are always aligned properly. --- memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'memory.h') diff --git a/memory.h b/memory.h index 38e632a..26c0382 100644 --- a/memory.h +++ b/memory.h @@ -1,7 +1,7 @@ #ifndef memory_h #define memory_h -int aligned(void* p, int a); +int aligned(const void* p, int a); int align_size(int s, int a); typedef struct Arena { -- cgit v1.2.3-54-g00ecf