Wireshark-commits: [Wireshark-commits] master 360a7ec: G_STRUCT_OFFSET gives warnings turned errors
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 3 Jun 2015 10:44:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=360a7ec9ae0d921cdaa041fd02d4cb44b4d95dbb
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

360a7ec by Anders (anders.broman@xxxxxxxxxxxx):

    G_STRUCT_OFFSET gives warnings turned errors with MSVC2015,
    use offsetof if defined or define it ourselfs as done in other
    places in our code base.
    
    Change-Id: Ia1c72c9648336e93ba8c14d4bc0371d782835370
    Reviewed-on: https://code.wireshark.org/review/8735
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  bef4da8   ISAKMP: Don't complain about zero-length config attributes in request messages - this is expected
    adds  360a7ec   G_STRUCT_OFFSET gives warnings turned errors with MSVC2015, use offsetof if defined or define it ourselfs as done in other places in our code base.


Summary of changes:
 epan/dissectors/packet-lbm.h |    6 +++++-
 ui/gtk/bytes_view.c          |    7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)