diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2013-05-24 01:28:41 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-05-26 22:06:33 +0200 |
commit | 85b4fe5c9097461a203a3f4996801b9e0ee62db4 (patch) | |
tree | 5fa21b58e6a54d63299323b5f6816d27bee01f45 /src/expr/counter.c | |
parent | 4d6045630bb90182abf553df1b7f2764a24620b0 (diff) |
chain: delete useless castings
These casting were useless.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/counter.c')
-rw-r--r-- | src/expr/counter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/counter.c b/src/expr/counter.c index 633db3e..129f32e 100644 --- a/src/expr/counter.c +++ b/src/expr/counter.c @@ -160,7 +160,7 @@ nft_rule_expr_counter_xml_parse(struct nft_rule_expr *e, char *xml) return -1; } - ctr->pkts = (uint64_t)tmp; + ctr->pkts = tmp; e->flags |= (1 << NFT_EXPR_CTR_PACKETS); } @@ -174,7 +174,7 @@ nft_rule_expr_counter_xml_parse(struct nft_rule_expr *e, char *xml) return -1; } - ctr->bytes = (uint64_t)tmp; + ctr->bytes = tmp; e->flags |= (1 << NFT_EXPR_CTR_BYTES); } |