Bug 887828 - GCC compilation failure in SkThread_win.cpp r=gwright

This commit is contained in:
Jacek Caban 2013-07-18 10:22:43 +02:00
parent d043e55df1
commit 48bc7d4237

View File

@ -36,7 +36,7 @@ void sk_membar_aquire__after_atomic_dec() { }
int32_t sk_atomic_conditional_inc(int32_t* addr) {
while (true) {
LONG value = static_cast<LONG const volatile&>(*addr);
LONG value = static_cast<int32_t const volatile&>(*addr);
if (value == 0) {
return 0;
}