forked from osmocom/wireshark
Use G_GUINT64_FORMAT to format a guint64.
A 64-bit integer isn't necessarily a long, it might be a long long. Use G_GUINT64_FORMAT to format it. Make it a guint64 while we're at it - the field is a FT_GUINT64. Change-Id: I7ee855905ea77347576005441824b1c4630f5659 Reviewed-on: https://code.wireshark.org/review/5302 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
7390516f61
commit
0e64efc81a
|
@ -414,7 +414,7 @@ static int elasticsearch_dissect_valid_binary_packet(tvbuff_t *tvb, packet_info
|
|||
|
||||
int offset = 0;
|
||||
gint8 transport_status_flags;
|
||||
gint64 request_id;
|
||||
guint64 request_id;
|
||||
proto_item *transport_status_flags_item;
|
||||
proto_tree *transport_status_flags_tree;
|
||||
|
||||
|
@ -463,7 +463,7 @@ static int elasticsearch_dissect_valid_binary_packet(tvbuff_t *tvb, packet_info
|
|||
} else {
|
||||
elasticsearch_decode_binary_response(tvb, pinfo, tree, offset, transport_status_flags);
|
||||
}
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "request_id=%lu ", request_id);
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "request_id=%"G_GUINT64_FORMAT" ", request_id);
|
||||
|
||||
|
||||
/* Everything is marked as data, return the whole tvb as the length */
|
||||
|
@ -765,4 +765,4 @@ void proto_reg_handoff_elasticsearch(void) {
|
|||
*
|
||||
* vi: set shiftwidth=4 tabstop=4 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue