Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1400)

Unified Diff: src/ports/SkThread_win.cpp

Issue 17047004: Fixed invalid cast on mingw. (Closed)
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkThread_win.cpp
diff --git a/src/ports/SkThread_win.cpp b/src/ports/SkThread_win.cpp
index bc038b2289e4c6b7d5b272b5fa012cf3d8388449..d51c858f013817f02555a24d4e9f772b263d305d 100644
--- a/src/ports/SkThread_win.cpp
+++ b/src/ports/SkThread_win.cpp
@@ -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<LONG const volatile>(*addr);
caryclark 2013/06/18 11:57:55 is the const still required?
if (value == 0) {
return 0;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698