Wireshark-bugs: [Wireshark-bugs] [Bug 8310] New: Cast needed to suppress "implicit conversion sh

Date: Mon, 11 Feb 2013 04:51:45 +0000
Bug ID 8310
Summary Cast needed to suppress "implicit conversion shortens 64-bit value into a 32-bit value"
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS Mac OS X 10.8
Status UNCONFIRMED
Severity Trivial
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Build Information:
wireshark 1.9.0 (SVN Rev 47627 from /trunk)

Copyright 1998-2013 Gerald Combs <[email protected]> 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 GTK+ 2.24.13, with Cairo 1.12.6, with Pango 1.32.4, with
GLib 2.34.1, with libpcap, with libz 1.2.5, without POSIX capabilities, without
libnl, without SMI, without c-ares, without ADNS, without Lua, without Python,
without GnuTLS, without Gcrypt, with MIT Kerberos, without GeoIP, without
PortAudio, with AirPcap.

Running on Mac OS X 10.8.2, build 12C2034 (Darwin 12.2.1), with locale
en_US.UTF-8, with libpcap version 1.1.1, with libz 1.2.5, without AirPcap.
      Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.11.00).

--
Wireshark fails to compile drag_and_drop.c on OSX in jhbuild environment
because of implicit 64-bit-to-32-bit conversion error due to use of strlen():

<snip>
> Making all in ui/gtk
>  CC       libgtkui_a-drag_and_drop.o
> cc1: warnings being treated as errors
> drag_and_drop.c: In function ‘gtk_osx_openFile’:
> drag_and_drop.c:344: warning: implicit conversion shortens 64-bit value into a 32-bit value
> make[2]: *** [libgtkui_a-drag_and_drop.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2


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