summaryrefslogtreecommitdiffstats
path: root/libarptc/libarptc_incl.c
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-16 10:31:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-05-20 14:13:34 +0200
commit047f37b1d5d865084a435fd7594b8c5c332ccb8d (patch)
treeab05e8f7adfa09b95ac027270933cb89fe49b8a3 /libarptc/libarptc_incl.c
parent4bb2f8340783fd3a3f70aa6f8807428a280f8474 (diff)
src: Use stdint types
Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libarptc/libarptc_incl.c')
-rw-r--r--libarptc/libarptc_incl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c
index 87404ce..ca23da6 100644
--- a/libarptc/libarptc_incl.c
+++ b/libarptc/libarptc_incl.c
@@ -1688,7 +1688,7 @@ TC_COMMIT(TC_HANDLE_T *handle)
/* Kernel will think that pointer should be 64-bits, and get
padding. So we accomodate here (assumption: alignment of
`counters' is on 64-bit boundary). */
- u_int64_t *kernptr = (u_int64_t *)&newcounters->counters;
+ uint64_t *kernptr = (uint64_t *)&newcounters->counters;
if ((unsigned long)&newcounters->counters % 8 != 0) {
fprintf(stderr,
"counters alignment incorrect! Mail rusty!\n");