]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Blocked revisions 373059
authorMatthew Jordan <mjordan@digium.com>
Fri, 14 Sep 2012 18:33:06 +0000 (18:33 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 14 Sep 2012 18:33:06 +0000 (18:33 +0000)
commite2f77f08e02e5630f254dd5bee0d39ba6a68be04
treead17df4220ec16c655222d4b1290930db314bf5c
parentd214ab8b37e1ba0e30a2b85f87f7ed91e5a4972f
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@373060 65c4cc65-6c06-0410-ace0-fbb531ad65f3