From: Eric Biggers Date: Sun, 17 Apr 2016 14:44:58 +0000 (-0500) Subject: xml_windows.c: use correct integer type (no change in behavior) X-Git-Tag: v1.9.2~20 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=98a8f6bb9e7b3b62d87cb4b36501818b1a14df5e xml_windows.c: use correct integer type (no change in behavior) --- diff --git a/src/xml_windows.c b/src/xml_windows.c index 455a0dee..a88c5648 100644 --- a/src/xml_windows.c +++ b/src/xml_windows.c @@ -405,7 +405,7 @@ set_info_from_kernel32(struct windows_info_ctx *ctx, goto invalid; pe_hdr = (u8 *)contents + e_lfanew; - if (*(u32 *)pe_hdr != cpu_to_le32(0x00004550)) /* "PE\0\0" */ + if (*(le32 *)pe_hdr != cpu_to_le32(0x00004550)) /* "PE\0\0" */ goto invalid; pe_arch = le16_to_cpu(*(le16 *)(pe_hdr + 4));