diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 01:29:52 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 01:29:52 +0000 |
commit | 7994794ad9cddeb5c610cc32843e4d5de0e5c81a (patch) | |
tree | e71a9ea8b4ff5d1244f454616e128c9737b090ba /epan/dissectors/packet-dmp.c | |
parent | 411249419dc399c8fcf5a364a90067f864626ba1 (diff) |
fix a lot more warnings
svn path=/trunk/; revision=21142
Diffstat (limited to 'epan/dissectors/packet-dmp.c')
-rw-r--r-- | epan/dissectors/packet-dmp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dmp.c b/epan/dissectors/packet-dmp.c index ebbd455d83..7275c86884 100644 --- a/epan/dissectors/packet-dmp.c +++ b/epan/dissectors/packet-dmp.c @@ -2001,7 +2001,7 @@ static gint dissect_dmp_envelope (tvbuff_t *tvb, packet_info *pinfo _U_, if (secs == -1 || secs == -2) { proto_item_append_text (tf, "Reserved (0x%2.2x)", time_diff); } else { - proto_item_append_text (tf, "%s", time_secs_to_str (secs)); + proto_item_append_text (tf, "%s", time_secs_to_str ( (gint32) secs)); } offset += 1; } @@ -2343,8 +2343,8 @@ static gint dissect_dmp_report (tvbuff_t *tvb, packet_info *pinfo _U_, proto_item_append_text (ei, " (0 seconds)"); } else { proto_item_append_text (tf, "%s (offset from the original message" - " submission time)", time_secs_to_str (secs)); - proto_item_append_text (ei, " (%s)", time_secs_to_str (secs)); + " submission time)", time_secs_to_str ((gint32) secs)); + proto_item_append_text (ei, " (%s)", time_secs_to_str ((gint32) secs)); } } else { dmp.ndr = TRUE; @@ -2457,7 +2457,7 @@ static gint dissect_dmp_notification (tvbuff_t *tvb, packet_info *pinfo _U_, proto_item_append_text (tf, "Reserved (0x%2.2x)", rec_time); } else { proto_item_append_text (tf, "%s (offset from the original message" - " submission time)", time_secs_to_str (secs)); + " submission time)", time_secs_to_str ((gint32) secs)); } offset += 1; @@ -2799,7 +2799,7 @@ static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo _U_, } else if (secs == -1 || secs == -2) { proto_item_append_text (tf, "Reserved (0x%2.2x)", exp_time); } else { - proto_item_append_text (tf, "%s (%s)", time_secs_to_str (secs), + proto_item_append_text (tf, "%s (%s)", time_secs_to_str ((gint32) secs), abs_time_secs_to_str (dmp.subm_time + secs)); } offset += 1; @@ -2825,7 +2825,7 @@ static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo _U_, dtg_sign.false_string, abs_time_secs_to_str (dmp.subm_time)); } else { - proto_item_append_text (tf, "%s in the %s (%s)", time_secs_to_str(secs), + proto_item_append_text (tf, "%s in the %s (%s)", time_secs_to_str((gint32) secs), (dtg & 0x80) ? dtg_sign.true_string : dtg_sign.false_string, (dtg & 0x80) ? abs_time_secs_to_str (dmp.subm_time + secs) : |