From 9b73331ee950d19d47bad952fc4a3e1266b48426 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 6 Dec 2020 20:49:12 -0500 Subject: [PATCH] Resolves deprecated use of `scanHexInt32`. --- OSBindings/Mac/Clock SignalTests/FUSETests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/FUSETests.swift b/OSBindings/Mac/Clock SignalTests/FUSETests.swift index 9856fc7a3..0bb5eaf64 100644 --- a/OSBindings/Mac/Clock SignalTests/FUSETests.swift +++ b/OSBindings/Mac/Clock SignalTests/FUSETests.swift @@ -10,14 +10,14 @@ import XCTest import Foundation fileprivate func readHexInt16(from scanner: Scanner) -> UInt16 { - var temporary: UInt32 = 0 - scanner.scanHexInt32(&temporary) + var temporary: UInt64 = 0 + scanner.scanHexInt64(&temporary) return UInt16(temporary) } fileprivate func readHexInt8(from scanner: Scanner) -> UInt8 { - var temporary: UInt32 = 0 - scanner.scanHexInt32(&temporary) + var temporary: UInt64 = 0 + scanner.scanHexInt64(&temporary) return UInt8(temporary) }