Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.

Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2001-08-14 07:59:59 +00:00
parent e82eded973
commit 3b8b92a2e8
84 changed files with 242 additions and 177 deletions

View File

@@ -21,6 +21,7 @@
* Pierre Phaneuf <pp@ludusdesign.com>
* Jacek Piskozub <piskozub@iopan.gda.pl>
*/
#include "nscore.h"
#include "nsCOMPtr.h"
#include "nsHTMLParts.h"
#include "nsHTMLContainerFrame.h"
@@ -2576,7 +2577,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetBorderHorizSpace(PRUint32 *result)
NS_IMETHODIMP nsPluginInstanceOwner::GetUniqueID(PRUint32 *result)
{
*result = (PRUint32)mContext;
*result = NS_PTR_TO_INT32(mContext);
return NS_OK;
}