diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-01-05 12:06:36 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-02-16 05:10:49 +0000 |
commit | 95dee44a77c8779776ce602b09fb33c703c4a32e (patch) | |
tree | a51cf7022e234111608facbe550b9795c96696e9 /epan/dissectors/packet-zvt.c | |
parent | 076784cdaee4721e4bce94824b5b92db9888d28a (diff) |
const gpointer -> gconstpointer
'const gpointer' is the same as 'void *const'. Replace with gconstpointer
where straightforward (assuming that was the intent) and use gpointer everywhere
else for clarity (that does not change *API* constness contract; it just means
a variable is not declared immutable inside the called funtion).
Change-Id: Iad2ef13205bfb4ff0056b2bce056353b58942267
Reviewed-on: https://code.wireshark.org/review/13945
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-zvt.c')
-rw-r--r-- | epan/dissectors/packet-zvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zvt.c b/epan/dissectors/packet-zvt.c index 76f9228666..540c7a17b9 100644 --- a/epan/dissectors/packet-zvt.c +++ b/epan/dissectors/packet-zvt.c @@ -877,7 +877,7 @@ proto_register_zvt(void) for(i=0; i<array_length(apdu_info); i++) { g_hash_table_insert(apdu_table, GUINT_TO_POINTER((guint)apdu_info[i].ctrl), - (const gpointer)(&apdu_info[i])); + (gpointer)(&apdu_info[i])); } proto_zvt = proto_register_protocol( |