diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-05 08:04:24 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-05 08:04:24 +0000 |
commit | 75c2052a01c32e2bc18aad4b66e9e35f4c06fb12 (patch) | |
tree | b46c17a6e806f784ef0d2245b80c1e046a8f4f36 /epan/dissectors/packet-synphasor.c | |
parent | 8722e8576bfc76bf46a9374bc1625ee2ba47290e (diff) |
Fixed a printf modifier to remove a warning from clang.
svn path=/trunk/; revision=34784
Diffstat (limited to 'epan/dissectors/packet-synphasor.c')
-rw-r--r-- | epan/dissectors/packet-synphasor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-synphasor.c b/epan/dissectors/packet-synphasor.c index 09fbb31d89..8f7f85aa33 100644 --- a/epan/dissectors/packet-synphasor.c +++ b/epan/dissectors/packet-synphasor.c @@ -779,9 +779,9 @@ static int dissect_config_frame(tvbuff_t *tvb, proto_item *config_item) gint16 tmp = tvb_get_ntohs(tvb, offset); temp_item = proto_tree_add_text(config_tree, tvb, offset, 2, "Rate of transmission: "); offset += 2; if (tmp > 0) - proto_item_append_text(temp_item, "%"G_GUINT16_FORMAT" frame(s) per second", tmp); + proto_item_append_text(temp_item, "%"G_GINT16_FORMAT" frame(s) per second", tmp); else - proto_item_append_text(temp_item, "1 frame per %"G_GUINT16_FORMAT" second(s)", -tmp); + proto_item_append_text(temp_item, "1 frame per %"G_GINT16_FORMAT" second(s)", (gint16)-tmp); } return offset; |