From 8313fae417e131b7396d2e30f96d7f4b13a46e11 Mon Sep 17 00:00:00 2001 From: "dveditz%netscape.com" Date: Wed, 24 May 2000 15:37:12 +0000 Subject: [PATCH] attempting to fix mac bustage --- xpinstall/src/nsRegisterItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpinstall/src/nsRegisterItem.cpp b/xpinstall/src/nsRegisterItem.cpp index 2650fc447787..f9433680d132 100644 --- a/xpinstall/src/nsRegisterItem.cpp +++ b/xpinstall/src/nsRegisterItem.cpp @@ -285,7 +285,7 @@ char* nsRegisterItem::toString() nsresult rv = mChrome->GetPath(getter_Copies(path)); if (NS_SUCCEEDED(rv) && path) { - PR_snprintf(buffer, 1024, rsrcVal, path); + PR_snprintf(buffer, 1024, rsrcVal, (const char*)path); } } nsCRT::free(rsrcVal);