From f94594c2a3f27c39edd41661ff8460e4c5884398 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 7 Dec 2024 07:42:38 -0800
Subject: [PATCH] Fixed build warning
---
src/SDL_ttf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/SDL_ttf.c b/src/SDL_ttf.c
index 80024fe9..521a6b73 100644
--- a/src/SDL_ttf.c
+++ b/src/SDL_ttf.c
@@ -3887,7 +3887,7 @@ static int CalculateClusterLengths(TTF_Text *text, TTF_SubString *clusters, int
cluster->length = clusters[i + 1].offset - cluster->offset;
} else {
SDL_assert(cluster->flags & TTF_SUBSTRING_TEXT_END);
- SDL_assert(cluster->offset == length);
+ SDL_assert(cluster->offset == (int)length);
}
last = cluster;
}