emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 12e864e: Avoid MinGW64 compiler warnings in unexw


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 12e864e: Avoid MinGW64 compiler warnings in unexw32.c
Date: Sat, 16 Sep 2017 09:45:38 -0400 (EDT)

branch: emacs-26
commit 12e864eb30df410906b5fb5d47f0342be7073527
Author: Andy Moreton <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Avoid MinGW64 compiler warnings in unexw32.c
    
    * src/unexw32.c (pDWP) [MINGW_W64]: Define to "16llx" only for the
    64-bit build.
---
 src/unexw32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/unexw32.c b/src/unexw32.c
index 0c6b483..e97a52b 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -471,7 +471,7 @@ get_section_info (file_data *p_infile)
 }
 
 /* Format to print a DWORD_PTR value.  */
-#ifdef MINGW_W64
+#if defined MINGW_W64 && defined _WIN64
 # define pDWP  "16llx"
 #else
 # define pDWP  "08lx"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]