Repository: incubator-weex Updated Branches: refs/heads/0.16-dev 2513b0f43 -> 5b7c9a4e6
* [ios] fix type convert warnings Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5b7c9a4e Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5b7c9a4e Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5b7c9a4e Branch: refs/heads/0.16-dev Commit: 5b7c9a4e683300f63869c4fa50b21ec087570bdf Parents: 2513b0f Author: acton393 <zhangxing610...@gmail.com> Authored: Tue Sep 26 11:56:49 2017 +0800 Committer: acton393 <zhangxing610...@gmail.com> Committed: Tue Sep 26 11:56:49 2017 +0800 ---------------------------------------------------------------------- ios/sdk/WeexSDK/Sources/Model/WXComponent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5b7c9a4e/ios/sdk/WeexSDK/Sources/Model/WXComponent.m ---------------------------------------------------------------------- diff --git a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m index 9e95e9b..7ad52f3 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m +++ b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m @@ -150,7 +150,7 @@ copyId = __copy % (1024*1024); __copy++; } - NSString *copyRef = [NSString stringWithFormat:@"%ldcopy_of%@", copyId, _isTemplate ? self.ref : self->_templateComponent.ref]; + NSString *copyRef = [NSString stringWithFormat:@"%zdcopy_of%@", copyId, _isTemplate ? self.ref : self->_templateComponent.ref]; WXComponent *component = [[[self class] allocWithZone:zone] initWithRef:copyRef type:self.type styles:self.styles attributes:self.attributes events:self.events weexInstance:self.weexInstance]; if (_isTemplate) { component->_templateComponent = self;