From 7cf7b3b95f805d03db50e46fde62b9003e59e051 Mon Sep 17 00:00:00 2001 From: "kherron%fmailbox.com" Date: Sun, 24 Jun 2007 11:47:08 +0000 Subject: [PATCH] Fix bustage from bug 381631. --- widget/src/windows/nsDeviceContextSpecWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/windows/nsDeviceContextSpecWin.cpp b/widget/src/windows/nsDeviceContextSpecWin.cpp index 9b3860bb937..4ddaedd8a17 100644 --- a/widget/src/windows/nsDeviceContextSpecWin.cpp +++ b/widget/src/windows/nsDeviceContextSpecWin.cpp @@ -529,7 +529,7 @@ NS_IMETHODIMP nsDeviceContextSpecWin::GetSurfaceForPrinter(gfxASurface **surface nsXPIDLString filename; mPrintSettings->GetToFileName(getter_Copies(filename)); - PRInt32 width, height; + double width, height; mPrintSettings->GetEffectivePageSize(&width, &height); // convert twips to points width /= 20;