Portability fixes.

committer: mfx <mfx> 1043693750 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-27 18:55:50 +00:00
parent a282171318
commit fd525ae7df
4 changed files with 26 additions and 34 deletions
+1 -1
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)));
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())