From b4488ce6a0760a39babce71a59a878eac53858e6 Mon Sep 17 00:00:00 2001 From: "jwalden%mit.edu" Date: Tue, 28 Nov 2006 00:32:30 +0000 Subject: [PATCH] Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin --- xpcom/glue/nsVoidArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/glue/nsVoidArray.cpp b/xpcom/glue/nsVoidArray.cpp index 0d8f14f58c5..19ef838707a 100644 --- a/xpcom/glue/nsVoidArray.cpp +++ b/xpcom/glue/nsVoidArray.cpp @@ -221,7 +221,7 @@ PRBool nsVoidArray::SizeTo(PRInt32 aSize) return PR_TRUE; } - if (aSize < oldsize) { + if ((PRUint32) aSize < oldsize) { // No point in allocating if it won't free the current Impl anyway. return PR_TRUE; }