Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Initialization of 'UnsafePointer<UInt8>' results in a dangling pointer #161

Open
tethridge opened this issue Mar 8, 2022 · 0 comments
Open

Comments

@tethridge
Copy link

tethridge commented Mar 8, 2022

Line 440 of WebSocket.swift causes a warning in Xcode. The warning is "Initialization of 'UnsafePointer' results in a dangling pointer".

strm.next_in = UnsafePointer(inflateEnd)

It is just a warning, but it would be nice to update it with the preferred syntax to eliminate the warning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant