Wireshark-commits: [Wireshark-commits] master b0b6064: Fix [ 5%] Building C object epan/CMakeFile

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 16 Mar 2014 08:43:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b0b6064542515ec79f5f9128d5f9caad98eb5470
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b0b6064 by Joerg Mayer (jmayer@xxxxxxxxx):

    Fix
    [  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-umts_fp.c.o
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c: In function ‘umts_fp_init_protocol’:
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c:4526:17: error: enum conversion in assignment is invalid in C++ [-Werror=c++-compat]
                     umts_fp_conversation_info->iface_type        = uat_umts_fp_ep_and_ch_records[i].interface_type;
                     ^
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c:4527:17: error: enum conversion in assignment is invalid in C++ [-Werror=c++-compat]
                     umts_fp_conversation_info->division          = uat_umts_fp_ep_and_ch_records[i].division;
                     ^
    /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c:4533:17: error: enum conversion in assignment is invalid in C++ [-Werror=c++-compat]
                     umts_fp_conversation_info->rlc_mode          = uat_umts_fp_ep_and_ch_records[i].rlc_mode;
                     ^
    cc1: all warnings being treated as errors
    
    Change-Id: Ie783a261c40d26ffd105822d5f45bd0513aa1914
    Reviewed-on: https://code.wireshark.org/review/693
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  9d8cfcc   And another warning fix.
    adds  b0b6064   Fix [  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-umts_fp.c.o /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c: In function ‘umts_fp_init_protocol’: /home/jmayer/work/wireshark/git/epan/dissectors/packet-umts_fp.c:4526:17: error: enum conversion in assignment is invalid in C++ [-Werror=c++-compat]                  umts_fp_conversation_info->iface_type        = uat_umts_fp_ep_and_ch_records[i].interface_type;                  ^ /hom [...]


Summary of changes:
 epan/dissectors/packet-umts_fp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)