guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 80/437: fix C++ incompatibility in i386 back-end


From: Andy Wingo
Subject: [Guile-commits] 80/437: fix C++ incompatibility in i386 back-end
Date: Mon, 2 Jul 2018 05:13:50 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 4bc1260c518d898a4d0c8a7a6f390bff1ed8904b
Author: Paolo Bonzini <address@hidden>
Date:   Wed Jun 11 08:01:15 2008 -0700

    fix C++ incompatibility in i386 back-end
    
    2008-06-11  Paolo Bonzini  <address@hidden>
    
        * lightning/i386/core-i386.h: Fix C++ incompatibility.
---
 ChangeLog                | 4 ++++
 lightning/i386/core-32.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 16890e4..d75ae75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-11  Paolo Bonzini  <address@hidden>
+
+       * lightning/i386/core-i386.h: Fix C++ incompatibility.
+
 2008-06-10  Laurent Michel  <address@hidden>
 
        * lightning/i386/core-i386.h: Fix jit_replace8 for
diff --git a/lightning/i386/core-32.h b/lightning/i386/core-32.h
index eba34b9..2176589 100644
--- a/lightning/i386/core-32.h
+++ b/lightning/i386/core-32.h
@@ -71,7 +71,7 @@ struct jit_local_state {
 #ifdef __APPLE__
 /* Stack must stay 16-byte aligned: */
 # define jit_prepare_i(ni)     (((ni & 0x3) \
-                                  ? SUBLir(4 * ((((ni) + 3) & ~(0x3)) - (ni)), 
JIT_SP) \
+                                  ? (void)SUBLir(4 * ((((ni) + 3) & ~(0x3)) - 
(ni)), JIT_SP) \
                                   : (void)0), \
                                  _jitl.argssize += (((ni) + 3) & ~(0x3)))
 



reply via email to

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