Skip to content

Conversation

@pushkarnk
Copy link
Member

No description provided.



return other.withUnsafeBytes { (bytes2: UnsafePointer<Void>) -> Bool in
let bytes1 = bytes
Copy link
Member Author

@pushkarnk pushkarnk Aug 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnsafePointer<Void> needs to be replaced by UnsafeRawPointer. But is it applicable to withUnsafeBytes<ResultType, ContentType>(_ body: (UnsafePointer<ContentType>) throws -> ResultType) ?

@michael-lehew
Copy link
Contributor

The Data parts of this are handled by: #553 (which brings Data+NSData to mostly Swift3 parity).

@pushkarnk
Copy link
Member Author

@michael-lehew : I have reverted the NSData changes from this PR. Thanks.

@pushkarnk pushkarnk changed the title Fix build warnings in NSData and NSOperation Fix build warnings in NSOperation Aug 17, 2016
@phausler
Copy link
Contributor

looks good to me; built manually on linux.

@phausler phausler merged commit 5871161 into swiftlang:master Aug 17, 2016
@pushkarnk pushkarnk deleted the warnings branch August 18, 2016 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants