Wireshark-commits: [Wireshark-commits] master ad5db22: caputils: cast g_malloc pointer.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 01 Aug 2019 19:58:14 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad5db22a14a0dd1053f7cf9a86c2608876261812
Submitter: "Dario Lombardo <lomato@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ad5db22 by Dario Lombardo (lomato@xxxxxxxxx):

    caputils: cast g_malloc pointer.
    
    Fix compilation on FreeBBSD:
    
    ../caputils/capture-pcap-util.c: In function 'if_info_get':
    ../caputils/capture-pcap-util.c:383:17: error: request for implicit conversion from 'gpointer' {aka 'void *'} to 'char *' not permitted in C++ [-Werror=c++-compat]
         description = g_malloc(descr_size);
                     ^
    
    Change-Id: I4a3452a8b21c2bee853a50a977c418dd92a5d4b4
    Reviewed-on: https://code.wireshark.org/review/34152
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    

Actions performed:

    from  e7852aa   debian-setup.sh: Correct order of apt-get update and add_package
     add  ad5db22   caputils: cast g_malloc pointer.


Summary of changes:
 caputils/capture-pcap-util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)