Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame^] | 1 | From a1659e261888bdbed51803132d52d9a6c6803c8a Mon Sep 17 00:00:00 2001 |
| 2 | From: Joachim Nilsson <troglobit@gmail.com> |
| 3 | Date: Sat, 19 Oct 2019 12:26:26 +0200 |
| 4 | Subject: [PATCH] Use standard int64_t instead of __int64_t for mingw cross |
| 5 | build |
| 6 | |
| 7 | Signed-off-by: Joachim Nilsson <troglobit@gmail.com> |
| 8 | --- |
| 9 | include/libnet/libnet-structures.h | 6 +++--- |
| 10 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 11 | |
| 12 | diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h |
| 13 | index 6084caa..34fffc6 100644 |
| 14 | --- a/include/libnet/libnet-structures.h |
| 15 | +++ b/include/libnet/libnet-structures.h |
| 16 | @@ -49,9 +49,9 @@ struct libnet_port_list_chain |
| 17 | /* libnet statistics structure */ |
| 18 | struct libnet_stats |
| 19 | { |
| 20 | - __int64_t packets_sent; /* packets sent */ |
| 21 | - __int64_t packet_errors; /* packets errors */ |
| 22 | - __int64_t bytes_written; /* bytes written */ |
| 23 | + int64_t packets_sent; /* packets sent */ |
| 24 | + int64_t packet_errors; /* packets errors */ |
| 25 | + int64_t bytes_written; /* bytes written */ |
| 26 | }; |
| 27 | |
| 28 | |
| 29 | -- |
| 30 | 2.25.1 |
| 31 | |