MINGW-packages/mingw-w64-hclient-git/05-other-bad-comparison.patch
2018-01-29 08:56:05 +03:00

12 lines
332 B
Diff

--- a/strings.c
+++ b/strings.c
@@ -196,7 +196,7 @@ Routine Description:
goto Done;
}
- if(ByteOffset + DataBuffer > CurrentBufferOffset+ByteOffset)
+ if(ByteOffset + DataBuffer > (PCHAR)CurrentBufferOffset+ByteOffset)
{
goto Done;
}