Bug 562591 - comparison between signed and unsigned integer expressions in mozPersonalDictionary::Save, r=bz

This commit is contained in:
timeless@mozdev.org 2010-04-29 00:10:00 -07:00
parent ab9c41e1fc
commit 5690d32911

View File

@ -190,7 +190,7 @@ NS_IMETHODIMP mozPersonalDictionary::Save()
PRUint32 bytesWritten;
nsCAutoString utf8Key;
for (PRInt32 i = 0; i < array.Length(); ++i ) {
for (PRUint32 i = 0; i < array.Length(); ++i ) {
CopyUTF16toUTF8(array[i], utf8Key);
bufferedOutputStream->Write(utf8Key.get(), utf8Key.Length(), &bytesWritten);