OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST|

This commit is contained in:
scc@mozilla.org
2000-09-03 02:50:18 +00:00
parent b64c5fcf97
commit 0d7933c2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -2951,7 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
// To figure out the filename of the plugin, we'll need to get the
// plugin's CID, and then navigate through the XPCOM registry to
// pull out the DLL name to which the CID is registered.
nsAutoString path(Concat(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/"), NS_ConvertASCIItoUCS2(aCID)));
nsAutoString path( NS_READABLE_CAST(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/")) + NS_READABLE_CAST(NS_ConvertASCIItoUCS2(aCID)) );
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
// on some platforms