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

This commit is contained in:
pinkerton%netscape.com 2001-04-16 23:02:42 +00:00
parent 4e1463c1a0
commit ac624ba634

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;