From 70711bdd91e331d3a7fa08d59adc38dd6eb0c55d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 20 Mar 2025 04:39:34 +0100 Subject: DMA.cc: Use UInt32 instead of UIntPtr for the offset. --- dev/Kernel/KernelKit/PCI/DMA.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/Kernel/KernelKit/PCI') diff --git a/dev/Kernel/KernelKit/PCI/DMA.h b/dev/Kernel/KernelKit/PCI/DMA.h index 9afa525d..68f3fa37 100644 --- a/dev/Kernel/KernelKit/PCI/DMA.h +++ b/dev/Kernel/KernelKit/PCI/DMA.h @@ -56,8 +56,8 @@ namespace NeOS bool operator!(); public: - bool Write(const UIntPtr& bit, const UIntPtr& offset); - UIntPtr Read(const UIntPtr& offset); + bool Write(const UIntPtr& bit, const UInt32& offset); + UIntPtr Read(const UInt32& offset); Boolean Check(UIntPtr offset) const; public: -- cgit v1.2.3