Wireshark-bugs: [Wireshark-bugs] [Bug 7215] dvb-ci: fix some clang warnings

Date: Mon, 30 Apr 2012 11:06:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215

Martin Kaiser <wireshark@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8353|                            |review_for_checkin?
              Flags|                            |

--- Comment #6 from Martin Kaiser <wireshark@xxxxxxxxx> 2012-04-30 11:06:53 PDT ---
Created attachment 8353
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8353
ssl/dtls: fix 'intermediate pointers must be const qualified'


this fixes

packet-dtls.c:2659:38: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]
packet-dtls.c:2664:38: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]

packet-ssl.c:5644:13: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]
packet-ssl.c:5649:14: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]
packet-ssl.c:5671:14: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]
packet-ssl.c:5687:14: warning: to be safe all intermediate pointers in cast
from 'gchar **' to 'const gchar **' must be 'const' qualified [-Wcast-qual]

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.