зеркало из https://github.com/mozilla/pjs.git
Fix Linux warnings.
This commit is contained in:
Родитель
c469e17035
Коммит
3b81a033c1
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче