mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Fix deprecation warning
This commit is contained in:
parent
3b4b5f5b5c
commit
c0f8badbb5
@ -67,7 +67,7 @@ extension MPDClient {
|
||||
mpd_return_pair(self.connection, binaryPair.pair)
|
||||
|
||||
_ = data[offset...].withUnsafeMutableBytes { (pointer) in
|
||||
mpd_recv_binary(self.connection, pointer, chunkSize)
|
||||
mpd_recv_binary(self.connection, pointer.baseAddress, chunkSize)
|
||||
}
|
||||
|
||||
guard mpd_response_finish(self.connection) else { return }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user