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

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
===================================================================
--- src/ports/SkThread_win.cpp (revision 9701)
+++ src/ports/SkThread_win.cpp (working copy)
@@ -36,7 +36,7 @@
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;
}
« 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