Wireshark-commits: [Wireshark-commits] master 5e6d45c: Make address_to_display() use proper (non-)c
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 29 Nov 2015 00:25:20 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5e6d45ca98bb8c368b73084785d90fa3b0b6291f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    Make address_to_display() use proper (non-)constness
    
    Don't return allocated memory as a const pointer.
    
    Fixes multiple [-Wcast-qual] warnings.
    
    Change-Id: Ie9ceac27fa2a5eba41a5392ac983ff28c3939239
    Reviewed-on: https://code.wireshark.org/review/12267
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  cfc47c1   Replace my_dgt_tbcd_unpack with the safer tvb_bcd_dig_to_wmem_packet_str.
    adds  5e6d45c   Make address_to_display() use proper (non-)constness


Summary of changes:
 epan/address_types.c       |    2 +-
 epan/to_str.h              |    2 +-
 ui/cli/tap-rtp.c           |    4 ++--
 ui/gtk/graph_analysis.c    |    2 +-
 ui/gtk/iax2_analysis.c     |   24 ++++++++++++------------
 ui/gtk/mcast_stream_dlg.c  |    8 ++++----
 ui/gtk/rtp_analysis.c      |   24 ++++++++++++------------
 ui/gtk/rtp_player.c        |    8 ++++----
 ui/gtk/rtp_stream_dlg.c    |   12 ++++++------
 ui/gtk/voip_calls_dlg.c    |    2 +-
 ui/qt/sequence_diagram.cpp |    2 +-
 ui/qt/sequence_dialog.cpp  |    2 +-
 ui/tap-rtp-common.c        |    2 +-
 ui/tap-sequence-analysis.c |    4 ++--
 ui/traffic_table_ui.c      |    2 +-
 15 files changed, 50 insertions(+), 50 deletions(-)