diff options
Diffstat (limited to 'libbacktrace/internal.h')
-rw-r--r-- | libbacktrace/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/internal.h b/libbacktrace/internal.h index 1ae43177f38..bb967bc4a67 100644 --- a/libbacktrace/internal.h +++ b/libbacktrace/internal.h @@ -99,7 +99,7 @@ extern void backtrace_atomic_store_int (int *, int); /* We have neither the sync nor the atomic functions. These will never be called. */ -#define backtrace_atomic_load_pointer(p) (abort(), 0) +#define backtrace_atomic_load_pointer(p) (abort(), (void *) NULL) #define backtrace_atomic_load_int(p) (abort(), 0) #define backtrace_atomic_store_pointer(p, v) abort() #define backtrace_atomic_store_size_t(p, v) abort() |