]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOFilterInterruptEventSource.cpp
xnu-1504.7.4.tar.gz
[apple/xnu.git] / iokit / Kernel / IOFilterInterruptEventSource.cpp
index 9e268f6e76f85883daa16a63ad90c41cf93a70ff..47a3b8a143c03fe531ed5ec2d3136cef798d4767 100644 (file)
@@ -42,19 +42,19 @@ HISTORY
 #define IOTimeTypeStampS(t)                                            \
 do {                                                                   \
     IOTimeStampStart(IODBG_INTES(t),                                   \
-                     (unsigned int) this, (unsigned int) owner);       \
+                     (uintptr_t) this, (uintptr_t) owner);     \
 } while(0)
 
 #define IOTimeTypeStampE(t)                                            \
 do {                                                                   \
     IOTimeStampEnd(IODBG_INTES(t),                                     \
-                   (unsigned int) this, (unsigned int) owner);         \
+                   (uintptr_t) this, (uintptr_t) owner);               \
 } while(0)
 
 #define IOTimeStampLatency()                                           \
 do {                                                                   \
     IOTimeStampEnd(IODBG_INTES(IOINTES_LAT),                           \
-                   (unsigned int) this, (unsigned int) owner);         \
+                   (uintptr_t) this, (uintptr_t) owner);               \
 } while(0)
 
 #else /* !KDEBUG */
@@ -161,7 +161,7 @@ IOTimeTypeStampS(IOINTES_INTCTXT);
 
 IOTimeTypeStampS(IOINTES_INTFLTR);
     IOTimeStampConstant(IODBG_INTES(IOINTES_FILTER),
-                        (unsigned int) filterAction, (unsigned int) owner);
+                        (uintptr_t) filterAction, (uintptr_t) owner);
     filterRes = (*filterAction)(owner, this);
 IOTimeTypeStampE(IOINTES_INTFLTR);
 
@@ -180,7 +180,7 @@ IOTimeTypeStampS(IOINTES_INTCTXT);
 
 IOTimeTypeStampS(IOINTES_INTFLTR);
     IOTimeStampConstant(IODBG_INTES(IOINTES_FILTER),
-                        (unsigned int) filterAction, (unsigned int) owner);
+                        (uintptr_t) filterAction, (uintptr_t) owner);
     filterRes = (*filterAction)(owner, this);
 IOTimeTypeStampE(IOINTES_INTFLTR);