зеркало из https://github.com/mozilla/pjs.git
fix some unix warnning
This commit is contained in:
Родитель
faa661374a
Коммит
309eeba084
|
@ -37,7 +37,7 @@ public:
|
|||
/**
|
||||
* Class destructor.
|
||||
*/
|
||||
~ns1ByteToUnicodeBase();
|
||||
virtual ~ns1ByteToUnicodeBase();
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// Interface nsIUnicodeDecoder [declaration]
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* Class destructor.
|
||||
*/
|
||||
~nsCP1253ToUnicode();
|
||||
virtual ~nsCP1253ToUnicode();
|
||||
|
||||
/**
|
||||
* Static class constructor.
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* Class destructor.
|
||||
*/
|
||||
~nsISO88597ToUnicode();
|
||||
virtual ~nsISO88597ToUnicode();
|
||||
|
||||
/**
|
||||
* Static class constructor.
|
||||
|
|
|
@ -55,7 +55,7 @@ public:
|
|||
/**
|
||||
* Class destructor.
|
||||
*/
|
||||
~nsLatin1ToUnicode();
|
||||
virtual ~nsLatin1ToUnicode();
|
||||
|
||||
/**
|
||||
* Static class constructor.
|
||||
|
|
|
@ -150,7 +150,7 @@ extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* serviceMgr,
|
|||
nsConverterFactory * fac;
|
||||
FactoryData * data;
|
||||
|
||||
for (PRInt32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
for (PRUint32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
data = &(g_FactoryData[i]);
|
||||
if (aClass.Equals(*(data->mCID))) {
|
||||
fac = new nsConverterFactory(data);
|
||||
|
@ -171,7 +171,7 @@ extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* serviceMgr, const char
|
|||
{
|
||||
nsresult res;
|
||||
|
||||
for (PRInt32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
for (PRUint32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
res = nsRepository::RegisterComponent(*(g_FactoryData[i].mCID), NULL, NULL,
|
||||
path, PR_TRUE, PR_TRUE);
|
||||
if(NS_FAILED(res) && (NS_ERROR_FACTORY_EXISTS != res)) return res;
|
||||
|
@ -184,7 +184,7 @@ extern "C" NS_EXPORT nsresult NSUnregisterSelf(nsISupports* serviceMgr, const ch
|
|||
{
|
||||
nsresult res;
|
||||
|
||||
for (PRInt32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
for (PRUint32 i=0; i<ARRAY_SIZE(g_FactoryData); i++) {
|
||||
res = nsRepository::UnregisterFactory(*(g_FactoryData[i].mCID), path);
|
||||
if(NS_FAILED(res)) return res;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче