Work around AStyle being fool by the non-standard __asm keyword.
Fix some implicit int64 to int32 conversion.