diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index c795e6aad..9f7c26031 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1479,7 +1479,7 @@ extern struct globals *const ptr_to_globals; | |||
1479 | /* At least gcc 3.4.6 on mipsel system needs optimization barrier */ | 1479 | /* At least gcc 3.4.6 on mipsel system needs optimization barrier */ |
1480 | #define barrier() __asm__ __volatile__("":::"memory") | 1480 | #define barrier() __asm__ __volatile__("":::"memory") |
1481 | #define SET_PTR_TO_GLOBALS(x) do { \ | 1481 | #define SET_PTR_TO_GLOBALS(x) do { \ |
1482 | (*(struct globals**)&ptr_to_globals) = (x); \ | 1482 | (*(struct globals**)&ptr_to_globals) = (void*)(x); \ |
1483 | barrier(); \ | 1483 | barrier(); \ |
1484 | } while (0) | 1484 | } while (0) |
1485 | 1485 | ||