remove const

This commit is contained in:
Glenn Maynard
2007-05-03 02:23:39 +00:00
parent b070657cf4
commit 59f652d3f4
@@ -121,7 +121,7 @@ void BacktraceNames::FromAddr( const void *p )
* between one function and the next, because the first lookup will succeed. * between one function and the next, because the first lookup will succeed.
*/ */
Dl_info di; Dl_info di;
if( !dladdr(p, &di) || di.dli_sname == NULL ) if( !dladdr((void *) p, &di) || di.dli_sname == NULL )
{ {
if( !dladdr( ((char *) p) - 8, &di) ) if( !dladdr( ((char *) p) - 8, &di) )
return; return;