Skip to content

Commit 90da6a6

Browse files
authored
Fix compareValues API implementation (#107)
1 parent 0938f48 commit 90da6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenGraph/Runtime/CompareValues.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public func compareValues<Value>(_ lhs: Value, _ rhs: Value, mode: OGComparisonM
2222
public func compareValues<Value>(_ lhs: Value, _ rhs: Value, options: OGComparisonOptions) -> Bool {
2323
withUnsafePointer(to: lhs) { p1 in
2424
withUnsafePointer(to: rhs) { p2 in
25-
OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: options)
25+
OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: .init(rawValue: options.rawValue | 0x100))
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)