Chore: silence some warnings

This commit is contained in:
李通洲
2024-10-17 15:39:11 +08:00
parent 6500cddc09
commit 8f79d6ab1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -521,7 +521,7 @@ static bool getTerminalVersionScreen(FFstrbuf* exe, FFstrbuf* version)
{
if(!getExeVersionRaw(exe, version)) return false;
// Screen version 4.09.01 (GNU) 20-Aug-23
ffStrbufSubstrAfter(version, strlen("Screen version ") - 1);
ffStrbufSubstrAfter(version, (uint32_t) strlen("Screen version ") - 1);
ffStrbufSubstrBeforeFirstC(version, ' ');
return version->length > 0;
}