Bug 205812 - nsHTMLEntities.cpp fails to build in 64-bit mode on AIX.

r=harishd@netscape.com, sr=alecf@flett.org, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@142516 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pkw%us.ibm.com
2003-05-15 22:24:24 +00:00
parent 4329684bf2
commit 0253841ac1
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ PR_STATIC_CALLBACK(PLDHashNumber)
hashUnicodeValue(PLDHashTable*, const void* key)
{
// key is actually the unicode value
return PLDHashNumber(key);
return PLDHashNumber(NS_PTR_TO_INT32(key));
}

View File

@@ -91,7 +91,7 @@ PR_STATIC_CALLBACK(PLDHashNumber)
hashUnicodeValue(PLDHashTable*, const void* key)
{
// key is actually the unicode value
return PLDHashNumber(key);
return PLDHashNumber(NS_PTR_TO_INT32(key));
}