diff options
Diffstat (limited to 'epan/dissectors/packet-fmp_notify.c')
-rw-r--r-- | epan/dissectors/packet-fmp_notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fmp_notify.c b/epan/dissectors/packet-fmp_notify.c index d59a9c0f36..0cb91e424f 100644 --- a/epan/dissectors/packet-fmp_notify.c +++ b/epan/dissectors/packet-fmp_notify.c @@ -84,7 +84,7 @@ dissect_fmp_notify_status(tvbuff_t *tvb, int offset, proto_tree *tree, int *rval { fmpStat status; - status = tvb_get_ntohl(tvb, offset); + status = (fmpStat)tvb_get_ntohl(tvb, offset); switch (status) { case FMP_OK: @@ -168,7 +168,7 @@ dissect_revokeHandleListReason(tvbuff_t *tvb, int offset, proto_tree *tree) revokeHandleListReason reason; if (tree) { - reason = tvb_get_ntohl(tvb, offset); + reason = (revokeHandleListReason)tvb_get_ntohl(tvb, offset); switch (reason) { case FMP_LIST_USER_QUOTA_EXCEEDED: proto_tree_add_text(tree, tvb, offset, 4, "Reason: %s", |