Add cast to fix Win* compile complaint/failure
https://codereview.chromium.org/100313005/ git-svn-id: http://skia.googlecode.com/svn/trunk@12750 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
5db04dfad7
commit
087b313939
@ -645,7 +645,7 @@ static int lpaint_getStrokeJoin(lua_State* L) {
|
||||
}
|
||||
|
||||
static int lpaint_getTextEncoding(lua_State* L) {
|
||||
SkLua(L).pushScalar(get_obj<SkPaint>(L, 1)->getTextEncoding());
|
||||
SkLua(L).pushScalar(static_cast<SkScalar>(get_obj<SkPaint>(L, 1)->getTextEncoding()));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user