[asterisk-commits] mjordan: branch 11 r373060 - /branches/11/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 14 13:33:10 CDT 2012


Author: mjordan
Date: Fri Sep 14 13:33:06 2012
New Revision: 373060

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=373060
Log:
Blocked revisions 373059

........
Constify __ao2_ref_debug in astobj2

When REF_DEBUG is enabled in certain files - most notably ccss.c - the 'tag'
parameter passed to __ao2_ref_debug will be a const char *.  The function
currently expects that parameter to not be const.  This causes a warning
when compiling, as the const qualifier is being discarded.  With dev-mode
enabled, this prevents compiling Asterisk.

This patch makes __ao2_ref_debug's tag and file parameters const.

(closes issue ASTERISK-20408)
Reported by: mjordan
........

Merged revisions 372959 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/11/   (props changed)

Propchange: branches/11/
------------------------------------------------------------------------------
--- branch-10-blocked (original)
+++ branch-10-blocked Fri Sep 14 13:33:06 2012
@@ -1,1 +1,1 @@
-/branches/10:330492,330514,337433,337640,338493,352288,352616,356431,359054,360476,365014,366591,366792,370361,372020
+/branches/10:330492,330514,337433,337640,338493,352288,352616,356431,359054,360476,365014,366591,366792,370361,372020,373059




More information about the asterisk-commits mailing list