[NTOS:IO] Fix always-false condition in IoCheckEaBufferValidity.

Spotted by clang.
This commit is contained in:
Thomas Faber
2019-03-24 16:10:33 +01:00
parent faaf2dc0e6
commit 57225adaac

View File

@@ -251,7 +251,7 @@ IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer,
/* Compute the remaining bits */
EaLength -= NextEntryOffset;
/* We must have bits left */
if (EaLength < 0)
if ((LONG)EaLength < 0)
{
goto FailPath;
}