Fixed call to typeid().

committer: mfx <mfx> 1049380061 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2003-04-03 14:27:41 +00:00
parent 350ebfc47d
commit a3e80b1628

View File

@ -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())