diff options
author | relyea%netscape.com <devnull@localhost> | 2004-01-15 16:27:02 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2004-01-15 16:27:02 +0000 |
commit | b55ff5d983fb3e719ca9b1ffd04d68c0de0c94a0 (patch) | |
tree | 8922fefd0c939e73392e0c919b0a7baece1fcc22 | |
parent | 825db84b0686a2eef87313410379bc9dbdd43cde (diff) | |
download | nss-hg-b55ff5d983fb3e719ca9b1ffd04d68c0de0c94a0.tar.gz |
Fix build problems on some platforms.
-rw-r--r-- | security/nss/lib/util/utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/util/utf8.c b/security/nss/lib/util/utf8.c index f418233eb..bc6ab14a7 100644 --- a/security/nss/lib/util/utf8.c +++ b/security/nss/lib/util/utf8.c @@ -564,12 +564,12 @@ sec_port_iso88591_utf8_conversion_function unsigned int *outBufLen ) { + unsigned int i, len = 0; + #ifndef TEST_UTF8 PORT_Assert((unsigned int *)NULL != outBufLen); #endif /* TEST_UTF8 */ - unsigned int i, len = 0; - for( i = 0; i < inBufLen; i++) { if( (inBuf[i] & 0x80) == 0x00 ) len += 1; else len += 2; |