Wireshark-commits: [Wireshark-commits] master-2.2 11c9010: Cast away some compiler warnings.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Feb 2017 19:03:09 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=11c90105bde90fb6fb3578a5bafc4097975b6fb9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

11c9010 by Guy Harris (guy@xxxxxxxxxxxx):

    Cast away some compiler warnings.
    
    We know ignored_bytes is > 0 (if it weren't, we'd have treated that as
    an error and exited), so just cast it to guint32 to suppress complaints
    about a signed vs. unsigned comparison.
    
    Change-Id: If02359082fdbbca037cf01ad829003730bc3d8b2
    Reviewed-on: https://code.wireshark.org/review/20053
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit cffb18351ff130a5df06e65b87cb9adade74376d)
    Reviewed-on: https://code.wireshark.org/review/20054
    

Actions performed:

    from  293dbe7   simple_dialog(.h): fix parameter 'Type' not found in the function declaration [-Wdocumentation]
    adds  11c9010   Cast away some compiler warnings.


Summary of changes:
 editcap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)