aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-20 00:12:38 -0700
committerEvan Huus <eapache@gmail.com>2014-06-20 07:13:35 +0000
commitd91953f58f661b4d25f8aa98a8a1cee053fd5dc9 (patch)
tree2051f8b418ba4e2db2929d57389926ef6ddca5db /epan/proto.h
parent28e8ce59cc5d83fdf426d56924fe01edd31d480d (diff)
fix printf argument index
Change-Id: I56aae95d61930c74ac9962225e1bcda72079595e Reviewed-on: https://code.wireshark.org/review/2477 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 0f85750848..c3a5ab38ea 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -906,8 +906,7 @@ proto_tree_add_subtree(proto_tree *tree, tvbuff_t *tvb, gint start, gint length,
@param ... printf like parameters
@return the newly created tree */
proto_tree *
-proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *format,
- ...) G_GNUC_PRINTF(5,6);
+proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *format, ...) G_GNUC_PRINTF(7,8);
/** Add a text-only node to a proto_tree with tvb_format_text() string. */
proto_item *