mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
rsym64: only compare lower 16 bits of checksum
svn path=/branches/ros-amd64-bringup/; revision=38973
This commit is contained in:
@@ -753,7 +753,7 @@ ParsePEHeaders(PFILE_INFO File)
|
||||
File->OptionalHeader->CheckSum = 0;
|
||||
Checksum = CalculateChecksum(0, File->FilePtr, File->cbInFileSize);
|
||||
Checksum += File->cbInFileSize;
|
||||
if (Checksum != OldChecksum)
|
||||
if ((Checksum & 0xffff) != (OldChecksum & 0xffff))
|
||||
{
|
||||
fprintf(stderr, "Input file has incorrect PE checksum: 0x%lx (calculated: 0x%lx)\n",
|
||||
OldChecksum, Checksum);
|
||||
|
||||
Reference in New Issue
Block a user