From 803f33c0e9cb458cf7989f3826e9baba8da19e2f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 4 Sep 2000 05:56:10 +0000 Subject: More sparc64 fixes --- include/libipq/libipq.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libipq') diff --git a/include/libipq/libipq.h b/include/libipq/libipq.h index f4c4ab70..919d2153 100644 --- a/include/libipq/libipq.h +++ b/include/libipq/libipq.h @@ -28,8 +28,10 @@ #ifdef KERNEL_64_USERSPACE_32 #include "ip_queue_64.h" +typedef u_int64_t ipq_id_t; #else #include +typedef u_int32_t ipq_id_t; #endif #ifdef DEBUG_LIBIPQ @@ -68,7 +70,7 @@ int ipq_message_type(const unsigned char *buf); int ipq_get_msgerr(const unsigned char *buf); int ipq_set_verdict(const struct ipq_handle *h, - unsigned long id, + ipq_id_t id, unsigned int verdict, size_t data_len, unsigned char *buf); -- cgit v1.2.3