} mach_port_status_t;
/* System-wide values for setting queue limits on a port */
-#define MACH_PORT_QLIMIT_ZERO ((mach_port_msgcount_t) 0)
-#define MACH_PORT_QLIMIT_BASIC ((mach_port_msgcount_t) 5)
-#define MACH_PORT_QLIMIT_SMALL ((mach_port_msgcount_t) 16)
-#define MACH_PORT_QLIMIT_LARGE ((mach_port_msgcount_t) 1024)
-#define MACH_PORT_QLIMIT_KERNEL ((mach_port_msgcount_t) 65536)
+#define MACH_PORT_QLIMIT_ZERO (0)
+#define MACH_PORT_QLIMIT_BASIC (5)
+#define MACH_PORT_QLIMIT_SMALL (16)
+#define MACH_PORT_QLIMIT_LARGE (1024)
+#define MACH_PORT_QLIMIT_KERNEL (65534)
#define MACH_PORT_QLIMIT_MIN MACH_PORT_QLIMIT_ZERO
#define MACH_PORT_QLIMIT_DEFAULT MACH_PORT_QLIMIT_BASIC
#define MACH_PORT_QLIMIT_MAX MACH_PORT_QLIMIT_LARGE
/* Flavors for mach_port_get/set_attributes() */
typedef int mach_port_flavor_t;
-#define MACH_PORT_LIMITS_INFO 1 /* uses mach_port_status_t */
-#define MACH_PORT_RECEIVE_STATUS 2 /* uses mach_port_limits_t */
+#define MACH_PORT_LIMITS_INFO 1 /* uses mach_port_limits_t */
+#define MACH_PORT_RECEIVE_STATUS 2 /* uses mach_port_status_t */
#define MACH_PORT_DNREQUESTS_SIZE 3 /* info is int */
#define MACH_PORT_TEMPOWNER 4 /* indicates receive right will be reassigned to another task */
#define MACH_PORT_IMPORTANCE_RECEIVER 5 /* indicates recieve right accepts priority donation */