Wireshark-commits: [Wireshark-commits] master d47373f: Make sure we handle Booleans even with the u

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 20 Apr 2015 01:52:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d47373f27838236919c4e0938b59c209d801b6a7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d47373f by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure we handle Booleans even with the upper 32 bits set.
    
    Just pass 1 or 0 to proto_tree_add_boolean() depending on whether the
    64-bit value is non-zero or zero.
    
    Change-Id: I5b55c9aff4e559fb8e62bd96ae2b0b34e45189fa
    Reviewed-on: https://code.wireshark.org/review/8129
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1edbd5a   Don't use proto_tree_add_uint() to add FT_BOOLEAN values.
    adds  d47373f   Make sure we handle Booleans even with the upper 32 bits set.


Summary of changes:
 epan/proto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)