From 89ce22e894d740f9fd2dfde23049488a7870b6aa Mon Sep 17 00:00:00 2001 From: Boreal Date: Wed, 28 May 2025 20:10:05 -0700 Subject: [PATCH] [Core] Fix sign comparison warning (#427) --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index be2b076..7e29ca0 100644 --- a/clay.h +++ b/clay.h @@ -1483,7 +1483,7 @@ uint64_t Clay__HashData(const uint8_t* data, size_t length) { uint64_t Clay__HashData(const uint8_t* data, size_t length) { uint64_t hash = 0; - for (int32_t i = 0; i < length; i++) { + for (size_t i = 0; i < length; i++) { hash += data[i]; hash += (hash << 10); hash ^= (hash >> 6);