Summary: | ASTERISK-04137: [patch] Fix a bunch of the more useful gcc4 warnings. | ||
Reporter: | David Woodhouse (dwmw2) | Labels: | |
Date Opened: | 2005-05-11 08:01:20 | Date Closed: | 2008-01-15 15:34:32.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) gcc4-warnings.patch.txt | |
Description: | GCC 4 is a lot more picky than it used to be. It gives us a whole bunch of warnings about signedness of char pointers which are mostly just noise, but there's a few relevant ones amongst the output; in particular the fact that we're often passing an (int *) to socket functions like recvfrom(). This patch fixes the ones which look meaningful. ****** ADDITIONAL INFORMATION ****** Disclaimer on file. | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2005-05-14 23:16:19 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:34:32.000-0600 Repository: asterisk Revision: 5664 U trunk/asterisk.c U trunk/channels/chan_iax2.c U trunk/channels/chan_mgcp.c U trunk/channels/chan_sip.c U trunk/channels/chan_skinny.c U trunk/dsp.c U trunk/manager.c U trunk/rtp.c ------------------------------------------------------------------------ r5664 | kpfleming | 2008-01-15 15:34:32 -0600 (Tue, 15 Jan 2008) | 2 lines correct some signed/unsigned issues found by GCC 4 (bug ASTERISK-4137) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5664 |