imagehlp: Do not pass NULL to WriteFile as lpNumberOfBytesWritten.

This commit is contained in:
Thomas Faber 2012-06-20 23:48:44 +02:00 committed by Alexandre Julliard
parent 132937a4e8
commit fd181c4937
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ BOOL WINAPI ImageAddCertificate(
char null[8]; char null[8];
ZeroMemory(null, 8); ZeroMemory(null, 8);
WriteFile(FileHandle, null, 8 - (Certificate->dwLength % 8), NULL, NULL); WriteFile(FileHandle, null, 8 - (Certificate->dwLength % 8), &count, NULL);
size += 8 - (Certificate->dwLength % 8); size += 8 - (Certificate->dwLength % 8);
} }