don't include needless header, fix type error under gcc. r=saari/sr=hyatt. bug#75653

git-svn-id: svn://10.0.0.236/trunk@92455 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
2001-04-16 23:02:42 +00:00
parent 2cc2be2904
commit 29ad9f24ed

View File

@@ -24,8 +24,6 @@
#include "nsDeviceContextSpecX.h"
#include "prmem.h"
#include "plstr.h"
#include "nsWatchTask.h"
/** -------------------------------------------------------
* Construct the nsDeviceContextSpecX
@@ -130,7 +128,7 @@ NS_IMETHODIMP nsDeviceContextSpecX::BeginPage()
::GetPort(&mSavedPort);
GrafPtr printingPort;
status = ::PMSessionGetGraphicsContext(mPrintSession, kPMGraphicsContextQuickdraw,
&printingPort);
&(void*)printingPort);
if (status != noErr) return NS_ERROR_FAILURE;
::SetPort(printingPort);
return NS_OK;