mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 887828 - GCC compilation failure in SkThread_win.cpp r=gwright
This commit is contained in:
parent
d043e55df1
commit
48bc7d4237
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user