On 17 July 2010 09:06, Andrey Turkin <andrey.turkin at gmail.com> wrote: > + if (nt->OptionalHeader.FileAlignment <= 0) I can't comment much on the changes themselves, but FileAlignment is unsigned, so can't be < 0.