blob: f1c607dd8ad0f79b23a78075eb2eceac9e0fbcc7 [file] [log] [blame]
Patrick Williams8dd68482022-10-04 07:57:18 -05001From 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---
9 include/libnet/libnet-structures.h | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
13index 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--
302.25.1
31