fix compiler exception

This commit is contained in:
Cristy
2026-01-29 21:19:30 -05:00
parent 17b965c1e1
commit 21e2d6245f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1147,7 +1147,7 @@ static void inline FilenameToTitle(const char *filename,char *title,
/*
If parentheses remain unbalanced, close them.
*/
while ((depth > 0) && ((offset+1) < extent)) {
while ((depth > 0) && ((offset+1) < (ssize_t) extent)) {
title[offset++]=')';
depth--;
}
+1 -1
View File
@@ -286,7 +286,7 @@ static void inline FilenameToTitle(const char *filename,char *title,
/*
If parentheses remain unbalanced, close them.
*/
while ((depth > 0) && ((offset+1) < extent)) {
while ((depth > 0) && ((offset+1) < (ssize_t) extent)) {
title[offset++]=')';
depth--;
}
+1 -1
View File
@@ -264,7 +264,7 @@ static void inline FilenameToTitle(const char *filename,char *title,
/*
If parentheses remain unbalanced, close them.
*/
while ((depth > 0) && ((offset+1) < extent)) {
while ((depth > 0) && ((offset+1) < (ssize_t) extent)) {
title[offset++]=')';
depth--;
}