diff --git a/string/obsolete/nsString.cpp b/string/obsolete/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/string/obsolete/nsString.cpp +++ b/string/obsolete/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/string/obsolete/nsString2.cpp b/string/obsolete/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/string/obsolete/nsString2.cpp +++ b/string/obsolete/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/xpcom/ds/nsString.cpp b/xpcom/ds/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/xpcom/ds/nsString.cpp +++ b/xpcom/ds/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/xpcom/ds/nsString2.cpp b/xpcom/ds/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/xpcom/ds/nsString2.cpp +++ b/xpcom/ds/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/xpcom/string/obsolete/nsString.cpp b/xpcom/string/obsolete/nsString.cpp index 1589ee36739..d39a504b088 100644 --- a/xpcom/string/obsolete/nsString.cpp +++ b/xpcom/string/obsolete/nsString.cpp @@ -960,12 +960,12 @@ nsCString& nsCString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix; diff --git a/xpcom/string/obsolete/nsString2.cpp b/xpcom/string/obsolete/nsString2.cpp index 0373ef90564..84553e38e94 100644 --- a/xpcom/string/obsolete/nsString2.cpp +++ b/xpcom/string/obsolete/nsString2.cpp @@ -1130,12 +1130,12 @@ nsString& nsString::Append(PRInt32 anInteger,PRInt32 aRadix) { else theInt=(int)~(theInt-1); } - PRBool isfirst=true; + PRBool isfirst=PR_TRUE; while(mask1>=1) { PRInt32 div=theInt/mask1; if((div) || (!isfirst)) { buf[charpos++]="0123456789abcdef"[div]; - isfirst=false; + isfirst=PR_FALSE; } theInt-=div*mask1; mask1/=aRadix;