Clean up Win32 size/length casts

This commit is contained in:
2026-05-20 15:22:06 -06:00
parent c7064c18b9
commit 9a0c07a461
4 changed files with 5 additions and 5 deletions

View File

@@ -2180,7 +2180,7 @@ unslash (char *dir)
{
if (dir[0])
{
int len = strlen (dir) - 1;
size_t len = strlen (dir) - 1;
#ifdef WIN32
if (dir[len] == '/' || dir[len] == '\\')
#else