Fixed call to typeid().
committer: mfx <mfx> 1049380061 +0000
This commit is contained in:
parent
350ebfc47d
commit
a3e80b1628
@ -110,7 +110,7 @@ void printErr(const char *iname, const Throwable *e)
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
upx_snprintf(buf, sizeof(buf), "%s", prettyName(typeid(e).name()));
|
||||
upx_snprintf(buf, sizeof(buf), "%s", prettyName(typeid(*e).name()));
|
||||
if (e->getMsg())
|
||||
upx_snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),": %s", e->getMsg());
|
||||
if (e->getErrno())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user