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