All pastes #9213 Raw Edit

Anonymous

public text v1 · immutable
#9213 ·published 2005-04-09 22:40 UTC
rendered paste body
Index: atomic.h
===================================================================
--- atomic.h    (revision 42747)
+++ atomic.h    (working copy)
@@ -464,7 +464,7 @@
 
 static inline gint32 InterlockedExchange(volatile gint32 *dest, gint32 exch)
 {
-       gint32 tmp;
+       gint32 tmp = 0;
 
        __asm__ __volatile__ ("\n1:\n\t"
                              "lwarx  %0, 0, %2\n\t"