From 0f50b928cadff3101e24dc87e5d7b8675ca74e5d Mon Sep 17 00:00:00 2001 From: "jshin%mailaps.org" Date: Tue, 23 Dec 2003 10:32:12 +0000 Subject: [PATCH] bug 203406 : missing cast added --- intl/ctl/src/nsULE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intl/ctl/src/nsULE.cpp b/intl/ctl/src/nsULE.cpp index 5be864bdb5b..1d7822a60ef 100644 --- a/intl/ctl/src/nsULE.cpp +++ b/intl/ctl/src/nsULE.cpp @@ -209,7 +209,7 @@ nsULE::NextCluster(const PRUnichar *aString, return NS_OK; } - if (aIndex >= aLength) { + if (PRUint32(aIndex) >= aLength) { *aNextOffset = aLength; return NS_OK; }