From 98a8f6bb9e7b3b62d87cb4b36501818b1a14df5e Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 17 Apr 2016 09:44:58 -0500 Subject: [PATCH] xml_windows.c: use correct integer type (no change in behavior) --- src/xml_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.43.0