From c9c3afc746eeade97da19d78be5995bae92e7cd8 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Tue, 4 Jan 2000 03:04:56 +0000 Subject: [PATCH] Fixed compiler warning git-svn-id: svn://10.0.0.236/trunk@56710 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- mozilla/layout/html/base/src/nsPresShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 0d56f9f9978..e5aa8f38422 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -193,7 +193,7 @@ FrameArena::AllocateFrame(size_t aSize, void** aResult) void* result = nsnull; // Round size to multiple of 4 - PR_ROUNDUP(aSize, 4); + aSize = PR_ROUNDUP(aSize, 4); // Check recyclers first if (aSize < gMaxRecycledSize) { diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 0d56f9f9978..e5aa8f38422 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -193,7 +193,7 @@ FrameArena::AllocateFrame(size_t aSize, void** aResult) void* result = nsnull; // Round size to multiple of 4 - PR_ROUNDUP(aSize, 4); + aSize = PR_ROUNDUP(aSize, 4); // Check recyclers first if (aSize < gMaxRecycledSize) {