Wireshark-commits: [Wireshark-commits] master 7f520c3: Fix two warnings for semcheck.c
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 14 Feb 2016 22:10:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7f520c352d18e4786f007dcb7283f1c2075faf8f
Submitter: Jo?o Valverde (j@xxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    Fix two warnings for semcheck.c
    
    semcheck.c:986:24: warning: cast from function call of type 'sttype_id_t' to non-matching type 'int' [-Wbad-function-cast]
    semcheck.c:986:5: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct stnode_t *' [-Wformat=]
    
    Change-Id: I83031251c83f6597eb7c31f35e02c5a95bd2dabb
    Reviewed-on: https://code.wireshark.org/review/13930
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  5dbc727   tango_color(.h): avoid ‘tango_butter_3’ defined but not used [-Werror=unused-const-variable] found by gcc6
    adds  7f520c3   Fix two warnings for semcheck.c


Summary of changes:
 epan/dfilter/semcheck.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)