String comparison routines can return -1 and thus their return type cant be unsigned
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 2m2s
Builds / ExectOS (amd64, release) (push) Failing after 1m59s
Builds / ExectOS (i686, release) (push) Failing after 34s
Builds / ExectOS (i686, debug) (push) Failing after 35s

This commit is contained in:
2026-07-28 18:46:03 +02:00
parent 06ec2bc189
commit 4f79c12e53
6 changed files with 24 additions and 24 deletions

View File

@@ -18,12 +18,12 @@ namespace RTL
class WideString
{
public:
STATIC XTAPI SIZE_T CompareWideString(IN PCWSTR String1,
IN PCWSTR String2,
IN SIZE_T Length);
STATIC XTAPI SIZE_T CompareWideStringInsensitive(IN PCWSTR String1,
IN PCWSTR String2,
IN SIZE_T Length);
STATIC XTAPI LONG CompareWideString(IN PCWSTR String1,
IN PCWSTR String2,
IN SIZE_T Length);
STATIC XTAPI LONG CompareWideStringInsensitive(IN PCWSTR String1,
IN PCWSTR String2,
IN SIZE_T Length);
STATIC XTAPI PWCHAR ConcatenateWideString(OUT PWCHAR Destination,
IN PWCHAR Source,
IN SIZE_T Count);