Skip to content

Commit

Permalink
[iscsiboot] Inhibit harmless warning on 64-bit builds
Browse files Browse the repository at this point in the history
For amd64 builds, the compiler complains with the message

  warning C4327: '=' : indirection alignment of LHS (2) is greater than RHS (1)

As far as I am aware, x64_64 is perfectly capable of accessing
unaligned 16-bit quantities, so I think this is safe to inhibit.
  • Loading branch information
mcb30 committed Dec 19, 2008
1 parent 9ebc029 commit eb9dc7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/iscsiboot.c
Expand Up @@ -18,6 +18,7 @@

#pragma warning(disable:4201) /* nameless struct/union warning */
#pragma warning(disable:4214) /* non-int bitfield warning */
#pragma warning(disable:4327) /* indirection alignment mismatch */

#include <ntddk.h>
#include <ntstrsafe.h>
Expand Down

0 comments on commit eb9dc7f

Please sign in to comment.