From 35373a12716e2ffce184cc6d9951dd93f7a70c21 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 22 Feb 2025 02:10:09 +0800 Subject: [PATCH] Fix compareValues API implementation --- Sources/OpenGraph/Runtime/CompareValues.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/OpenGraph/Runtime/CompareValues.swift b/Sources/OpenGraph/Runtime/CompareValues.swift index 4aba95a1..82b40b1b 100644 --- a/Sources/OpenGraph/Runtime/CompareValues.swift +++ b/Sources/OpenGraph/Runtime/CompareValues.swift @@ -22,7 +22,7 @@ public func compareValues(_ lhs: Value, _ rhs: Value, mode: OGComparisonM public func compareValues(_ lhs: Value, _ rhs: Value, options: OGComparisonOptions) -> Bool { withUnsafePointer(to: lhs) { p1 in withUnsafePointer(to: rhs) { p2 in - OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: options) + OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: .init(rawValue: options.rawValue | 0x100)) } } }