Wireshark-commits: [Wireshark-commits] master f3c0287: ceph: Fix more enum overflow warnings [-Wped

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 9 Feb 2016 05:20:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f3c028797c7a1928b092f20da60925d493ca949c
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f3c0287 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

    ceph: Fix more enum overflow warnings [-Wpedantic]
    
    Change enum constants to a macro definition instead (even though not
    all of them generate overflow warnings).
    
    Change-Id: I276306055d5676b66020976d25665dc1dd7530ec
    Reviewed-on: https://code.wireshark.org/review/13815
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  372fb96   ceph: Declare convenience types as gint [-Wbad-function-cast]
    adds  f3c0287   ceph: Fix more enum overflow warnings [-Wpedantic]


Summary of changes:
 epan/dissectors/packet-ceph.c |  121 ++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 73 deletions(-)