Wireshark-bugs: [Wireshark-bugs] [Bug 9794] Recent commit fails to compile due to integer precis
Date: Thu, 20 Feb 2014 23:45:34 +0000

Comment # 1 on bug 9794 from
After most recent change-id I6476107aa753b670df6bede0ce15ea6760e52aeb it now
gets this:

packet-adb_cs.c:157:62: error: implicit conversion loses integer precision:
'gint64' (aka 'long') to 'guint32' (aka 'unsigned int')
[-Werror,-Wshorten-64-to-32]
    proto_tree_add_uint(sub_tree, hf_length, tvb, offset, 4, *data_length);
    ~~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~~~
packet-adb_cs.c:386:47: error: implicit conversion loses integer precision:
'gint64' (aka 'long') to 'gint' (aka 'int') [-Werror,-Wshorten-64-to-32]
                client_request->data_length = length;
                                            ~ ^~~~~~


You are receiving this mail because:
  • You are watching all bug changes.