diff --git a/intl/uconv/ucvcn/nsUnicodeToGB2312V2.cpp b/intl/uconv/ucvcn/nsUnicodeToGB2312V2.cpp index c6fa4814a13..e11644a030f 100644 --- a/intl/uconv/ucvcn/nsUnicodeToGB2312V2.cpp +++ b/intl/uconv/ucvcn/nsUnicodeToGB2312V2.cpp @@ -199,7 +199,7 @@ NS_IMETHODIMP nsUnicodeToGB2312V2::FillInfo(PRUint32 *aInfo) } //GB2312 font lib also have single byte ASCII characters, set them here - for ( SrcUnicode = 0x0000; SrcUnicode <= 0x00FF; SrcUnicode++); + for ( SrcUnicode = 0x0000; SrcUnicode <= 0x00FF; SrcUnicode++) { SET_REPRESENTABLE(aInfo, SrcUnicode); } diff --git a/intl/uconv/ucvcn/nsUnicodeToGBK.cpp b/intl/uconv/ucvcn/nsUnicodeToGBK.cpp index aada133384f..251f79b1a55 100644 --- a/intl/uconv/ucvcn/nsUnicodeToGBK.cpp +++ b/intl/uconv/ucvcn/nsUnicodeToGBK.cpp @@ -205,7 +205,7 @@ NS_IMETHODIMP nsUnicodeToGBK::FillInfo(PRUint32 *aInfo) } //GBK font lib also have single byte ASCII characters, set them here - for ( SrcUnicode = 0x0000; SrcUnicode <= 0x00FF; SrcUnicode++); + for ( SrcUnicode = 0x0000; SrcUnicode <= 0x00FF; SrcUnicode++) { SET_REPRESENTABLE(aInfo, SrcUnicode); }