From 3b81a033c10fa2d9babc3fd8d440b3335f997599 Mon Sep 17 00:00:00 2001 From: "relyea%netscape.com" Date: Thu, 20 Sep 2001 22:02:46 +0000 Subject: [PATCH] Fix Linux warnings. --- security/nss/lib/base/utf8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/nss/lib/base/utf8.c b/security/nss/lib/base/utf8.c index 921867cd2ef..01ccde0cca9 100644 --- a/security/nss/lib/base/utf8.c +++ b/security/nss/lib/base/utf8.c @@ -32,7 +32,7 @@ */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: utf8.c,v $ $Revision: 1.3 $ $Date: 2000-05-12 18:43:28 $ $Name: $"; +static const char CVS_ID[] = "@(#) $RCSfile: utf8.c,v $ $Revision: 1.4 $ $Date: 2001-09-20 22:02:46 $ $Name: $"; #endif /* DEBUG */ /* @@ -699,7 +699,7 @@ nssUTF8_CopyIntoFixedBuffer } /* Too long. We have to trim the last character */ - for( bs; bs > 0; bs-- ) { + for( bs; bs != 0; bs-- ) { if( (buffer[bs-1] & 0xC0) != 0x80 ) { buffer[bs-1] = pad; break;