summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Nilsson <troglobit@gmail.com>2019-10-19 12:26:26 +0200
committerJoachim Nilsson <troglobit@gmail.com>2019-10-19 12:26:26 +0200
commita1659e261888bdbed51803132d52d9a6c6803c8a (patch)
treed22291fc44ecf7ae3db8eb765a58ca9d103b1bed
parent11354524fdfc2a9db00313c460dea97c61cc7dc1 (diff)
downloadlibnet-a1659e261888bdbed51803132d52d9a6c6803c8a.tar.gz
Use standard int64_t instead of __int64_t for mingw cross build
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
-rw-r--r--include/libnet/libnet-structures.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
index 6084caa..34fffc6 100644
--- a/include/libnet/libnet-structures.h
+++ b/include/libnet/libnet-structures.h
@@ -49,9 +49,9 @@ struct libnet_port_list_chain
/* libnet statistics structure */
struct libnet_stats
{
- __int64_t packets_sent; /* packets sent */
- __int64_t packet_errors; /* packets errors */
- __int64_t bytes_written; /* bytes written */
+ int64_t packets_sent; /* packets sent */
+ int64_t packet_errors; /* packets errors */
+ int64_t bytes_written; /* bytes written */
};