Wireshark-bugs: [Wireshark-bugs] [Bug 7079] New: Patch to resolve compile failure on epan/dissec
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7079
Summary: Patch to resolve compile failure on
epan/dissectors/packet-gsm_sms.c
Product: Wireshark
Version: SVN
Platform: x86
OS/Version: Debian
Status: NEW
Severity: Major
Priority: Medium
Component: Wireshark
AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
ReportedBy: alindber@xxxxxxxxx
Alex Lindberg <alindber@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #8206| |review_for_checkin?
Flags| |
Created attachment 8206
--> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8206
patch to recast variable 'uld' to guint32
Build Information:
./tshark -v
TShark 1.7.2 (SVN Rev 42049 from /trunk)
Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 (32-bit) with GLib 2.30.2, with libpcap, with libz 1.2.6, with POSIX
capabilities (Linux), with SMI 0.4.8, with c-ares 1.7.5, with Lua 5.1, without
Python, with GnuTLS 2.12.18, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP.
Running on Linux 3.2.0-2-686-pae, with locale en_US.UTF-8, with libpcap version
1.2.1, with libz 1.2.6.
Built using gcc 4.6.3.
--
Error on compiling epan/dissectors/packet-gsm_sms.c (SVN Version 42049)
packet-gsm_sms.c:2676:33: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
FIX:
Recast 'uld': GUINT_TO_POINTER((guint32)udl)
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.