X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..a1c7dba18ef36983396c282fe85292db066e39db:/iokit/IOKit/IORangeAllocator.h diff --git a/iokit/IOKit/IORangeAllocator.h b/iokit/IOKit/IORangeAllocator.h index b6f7ee17b..d81bbefc2 100644 --- a/iokit/IOKit/IORangeAllocator.h +++ b/iokit/IOKit/IORangeAllocator.h @@ -40,7 +40,7 @@ #include #include -typedef UInt32 IORangeScalar; +typedef IOByteCount IORangeScalar; /*! @class IORangeAllocator @abstract A utility class to manage allocations from a range. @@ -94,7 +94,8 @@ public: @result Returns the new IORangeAllocator instance, to be released by the caller, or zero on failure. */ static IORangeAllocator * withRange( IORangeScalar endOfRange, - IORangeScalar defaultAlignment = 0, UInt32 capacity = 0, + IORangeScalar defaultAlignment = 0, + UInt32 capacity = 0, IOOptionBits options = 0 ); virtual void free();