From f9dfc5836d328f2e76463c3c082cf627dc366ca4 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 18:32:52 +0000 Subject: [PATCH] Bug 326475 r=bryner Fix signedness error in result tree update. Original committer: brettw%gmail.com Original revision: 1.62 Original date: 2006/03/22 22:26:22 --- toolkit/components/places/src/nsNavHistoryResult.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/places/src/nsNavHistoryResult.cpp b/toolkit/components/places/src/nsNavHistoryResult.cpp index 7d0e96604dc..89d59869189 100644 --- a/toolkit/components/places/src/nsNavHistoryResult.cpp +++ b/toolkit/components/places/src/nsNavHistoryResult.cpp @@ -1565,7 +1565,7 @@ nsNavHistoryContainerResultNode::ClearContents() PRUint32 oldAccessCount = mAccessCount; mAccessCount = 0; mTime = 0; - ReverseUpdateStats(-oldAccessCount); + ReverseUpdateStats(-PRInt32(oldAccessCount)); return NS_OK; }