Wireshark-bugs: [Wireshark-bugs] [Bug 9794] New: Recent commit fails to compile due to integer p
Date: Thu, 20 Feb 2014 23:14:30 +0000
Bug ID 9794
Summary Recent commit fails to compile due to integer precision conversion issue
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware x86
OS Mac OS X 10.9
Status UNCONFIRMED
Severity Major
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter hadrielk@yahoo.com

Build Information:
TShark 1.11.3 (wireshark-1.11.3-rc1-1692-g4c1bd64-dirty from master)

Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.38.2, with libpcap, with libz 1.2.8, without
POSIX
capabilities, without SMI, without c-ares, without ADNS, with Lua 5.2, without
Python, with GnuTLS 3.1.10, with Gcrypt 1.5.3, with MIT Kerberos, without
GeoIP.

Running on Mac OS X 10.9.1, build 13B42 (Darwin 13.0.0), with locale
en_US.UTF-8, with libpcap version 1.5.3, with libz 1.2.8.
Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz

Built using clang 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79).
--
packet-adb_cs.c:156:20: error: implicit conversion loses integer precision:
'guint64' (aka 'unsigned long') to 'gint' (aka 'int')
[-Werror,-Wshorten-64-to-32]
    *data_length = g_ascii_strtoull(hex_ascii, NULL, 16);
                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-adb_cs.c:347:46: error: implicit conversion loses integer precision:
'gint64' (aka 'long') to 'gint32' (aka 'int') [-Werror,-Wshorten-64-to-32]
            response_frame = client_request->response_frame;
                           ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
packet-adb_cs.c:422:23: error: implicit conversion loses integer precision:
'guint64' (aka 'unsigned long') to 'guint' (aka 'unsigned int')
[-Werror,-Wshorten-64-to-32]
            version = g_ascii_strtoull(hex_ascii, NULL, 16);


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