* [iOS] fix compiler complain
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/08c064d4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/08c064d4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/08c064d4 Branch: refs/heads/master Commit: 08c064d46c4f805e98f1a0fc9d2c75064205a320 Parents: 5eb2542 Author: acton393 <[email protected]> Authored: Wed Dec 20 17:55:01 2017 +0800 Committer: acton393 <[email protected]> Committed: Wed Dec 20 17:55:01 2017 +0800 ---------------------------------------------------------------------- ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/08c064d4/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m ---------------------------------------------------------------------- diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m index eae64fb..5882fcd 100644 --- a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m +++ b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m @@ -857,7 +857,7 @@ _Pragma("clang diagnostic pop") \ }); NSArray * args = [JSContext currentArguments]; NSString * levelStr = [[args lastObject] toString]; - [WXBridgeContext handleConsoleOutputWithArgument:args logLevel:levelMap[levelStr]]; + [WXBridgeContext handleConsoleOutputWithArgument:args logLevel:(WXLogFlag)levelMap[levelStr]]; }; } + (void)handleConsoleOutputWithArgument:(NSArray*)arguments logLevel:(WXLogFlag)logLevel
