Ticket #6060: snc_warning.patch
File snc_warning.patch, 451 bytes (added by , 11 years ago) |
---|
Line | |
---|---|
1 | ==== //Tongas/Users/fdiaz/Dev001/SDKs/Boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp#1 - c:\wanakoperforce\TongasDev\fdiaz001\Tongas\SDKs\Boost\boost\smart_ptr\detail\sp_counted_base_sync.hpp ==== |
2 | @@ -45,7 +45,7 @@ |
3 | |
4 | inline sp_int32_t atomic_decrement( sp_int32_t * pw ) |
5 | { |
6 | - return __sync_fetch_and_add( pw, -1 ); |
7 | + return __sync_fetch_and_sub( pw, 1 ); |
8 | } |
9 | |
10 | inline sp_int32_t atomic_conditional_increment( sp_int32_t * pw ) |