diff --git a/mozilla/gfx/src/mac/nsDeviceContextSpecX.cpp b/mozilla/gfx/src/mac/nsDeviceContextSpecX.cpp index 8f5b6587ac1..73557a6a58f 100644 --- a/mozilla/gfx/src/mac/nsDeviceContextSpecX.cpp +++ b/mozilla/gfx/src/mac/nsDeviceContextSpecX.cpp @@ -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;