From 32d1a31dfec13082c5bd84321f670ed76087c519 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Sat, 11 Jan 2025 21:35:45 +1300 Subject: [PATCH] Fix uint64 usage for wasm --- .gitignore | 1 - clay.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 83ffedb..920b172 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ cmake-build-debug/ cmake-build-release/ -build/ .DS_Store .idea/ node_modules/ diff --git a/clay.h b/clay.h index 2e28aaa..464f30b 100644 --- a/clay.h +++ b/clay.h @@ -1390,7 +1390,7 @@ struct Clay_Context { bool externalScrollHandlingEnabled; uint32_t debugSelectedElementId; uint32_t generation; - uint64_t arenaResetOffset; + uintptr_t arenaResetOffset; Clay_Arena internalArena; // Layout Elements / Render Commands Clay_LayoutElementArray layoutElements;