From 353aeb423e1163681ebe5433991972d1fb133512 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Tue, 12 Nov 2024 01:37:02 -0500 Subject: [PATCH] Fixed Linux support --- Sources/Bluetooth/Extensions/System.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Bluetooth/Extensions/System.swift b/Sources/Bluetooth/Extensions/System.swift index 3752bf1a0..e5fd059e9 100644 --- a/Sources/Bluetooth/Extensions/System.swift +++ b/Sources/Bluetooth/Extensions/System.swift @@ -29,8 +29,8 @@ internal func _memcmp( ) -> Int32 #else internal func _memcmp( - _ p1: UnsafeRawPointer?, - _ p2: UnsafeRawPointer?, + _ p1: UnsafeRawPointer!, + _ p2: UnsafeRawPointer!, _ size: Int ) -> Int32 { memcmp(p1, p2, size)