You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2018/01/18 08:34:37 UTC
[21/50] [abbrv] incubator-weex git commit: * [iOS] fix compiler
complain
* [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 <zh...@gmail.com>
Authored: Wed Dec 20 17:55:01 2017 +0800
Committer: acton393 <zh...@gmail.com>
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