From a484b8367b21728de7c6dcd744d43edf0d7d1ede Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 5 Oct 2006 07:03:41 +0000 Subject: r19084: make socket_wrapper more portable (standalone) and not use uintX_t metze (This used to be commit 7e89a0a28263e36ef7410122f987edf369154651) --- source4/lib/socket_wrapper/socket_wrapper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/lib/socket_wrapper/socket_wrapper.c') diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c index 84e1cb9fd9..fd80892d28 100644 --- a/source4/lib/socket_wrapper/socket_wrapper.c +++ b/source4/lib/socket_wrapper/socket_wrapper.c @@ -121,8 +121,8 @@ struct socket_info socklen_t peername_len; struct { - unsigned long long pck_snd; - unsigned long long pck_rcv; + unsigned long pck_snd; + unsigned long pck_rcv; } io; struct socket_info *prev, *next; @@ -464,9 +464,9 @@ static void swrap_dump_packet(struct socket_info *si, const struct sockaddr *add const struct sockaddr_in *src_addr; const struct sockaddr_in *dest_addr; const char *file_name; - uint32_t tcp_seq = 0; - uint32_t tcp_ack = 0; - uint8_t tcp_ctl = 0; + unsigned long tcp_seq = 0; + unsigned long tcp_ack = 0; + unsigned char tcp_ctl = 0; int unreachable = 0; file_name = socket_wrapper_pcap_file(); -- cgit