mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix storage usage (fix build)
This commit is contained in:
parent
f9b5bbf419
commit
1081bdb31e
@ -352,7 +352,7 @@ public final class StorageBox {
|
|||||||
withUnsafeMutablePointer(to: ¤tSize, { pointer in
|
withUnsafeMutablePointer(to: ¤tSize, { pointer in
|
||||||
self.valueBox.set(self.peerContentTypeStatsTable, key: key, value: MemoryBuffer(memory: UnsafeMutableRawPointer(pointer), capacity: 8, length: 8, freeWhenDone: false))
|
self.valueBox.set(self.peerContentTypeStatsTable, key: key, value: MemoryBuffer(memory: UnsafeMutableRawPointer(pointer), capacity: 8, length: 8, freeWhenDone: false))
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func internalAdd(reference: Reference, to id: Data, contentType: UInt8, size: Int64?) {
|
func internalAdd(reference: Reference, to id: Data, contentType: UInt8, size: Int64?) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user