aboutsummaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory.c b/memory.c
index b5c6a70..91e4a5b 100644
--- a/memory.c
+++ b/memory.c
@@ -3,7 +3,7 @@
#include <stdint.h>
#include <stddef.h>
-int aligned(void* p, int a) {
+int aligned(const void* p, int a) {
return (uintptr_t)p % a == 0;
}