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

Unified Diff: src/utils/SkLua.cpp

Issue 100313005: Add cast to fix Win* compile complaint/failure (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Switch from push a scalar to pushing a U32 Created 7 years 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/utils/SkLua.cpp
===================================================================
--- src/utils/SkLua.cpp (revision 12750)
+++ src/utils/SkLua.cpp (working copy)
@@ -645,7 +645,7 @@
}
static int lpaint_getTextEncoding(lua_State* L) {
- SkLua(L).pushScalar(static_cast<SkScalar>(get_obj<SkPaint>(L, 1)->getTextEncoding()));
+ SkLua(L).pushU32(get_obj<SkPaint>(L, 1)->getTextEncoding());
return 1;
}
« 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