| Index: src/animator/SkAnimateSet.cpp
|
| diff --git a/src/animator/SkAnimateSet.cpp b/src/animator/SkAnimateSet.cpp
|
| index f153b16bbd996bdca56eb817a29579b24f809398..d146118e89bcc2a5dfa889960a57fcfb709b941c 100644
|
| --- a/src/animator/SkAnimateSet.cpp
|
| +++ b/src/animator/SkAnimateSet.cpp
|
| @@ -62,7 +62,7 @@ void SkSet::onEndElement(SkAnimateMaker& maker) {
|
| fReset = dur != 1;
|
| SkDisplayTypes outType = fFieldInfo->getType();
|
| int comps = outType == SkType_String || outType == SkType_DynamicString ? 1 :
|
| - fFieldInfo->getSize((const SkDisplayable*) fTarget) / sizeof(int);
|
| + (int)fFieldInfo->getSize((const SkDisplayable*) fTarget) / sizeof(int);
|
| if (fValues.getType() == SkType_Unknown) {
|
| fValues.setType(outType);
|
| fValues.setCount(comps);
|
|
|