Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard.
This commit is contained in:
@@ -91,7 +91,8 @@ NS_COM PRBool nsID::Parse(const char *aIDStr)
|
|||||||
PARSE_HYPHEN(aIDStr);
|
PARSE_HYPHEN(aIDStr);
|
||||||
PARSE_CHARS_TO_NUM(aIDStr, m2, 4);
|
PARSE_CHARS_TO_NUM(aIDStr, m2, 4);
|
||||||
PARSE_HYPHEN(aIDStr);
|
PARSE_HYPHEN(aIDStr);
|
||||||
for(int i=0; i<2; i++)
|
int i;
|
||||||
|
for(i=0; i<2; i++)
|
||||||
PARSE_CHARS_TO_NUM(aIDStr, m3[i], 2);
|
PARSE_CHARS_TO_NUM(aIDStr, m3[i], 2);
|
||||||
PARSE_HYPHEN(aIDStr);
|
PARSE_HYPHEN(aIDStr);
|
||||||
while(i < 8) {
|
while(i < 8) {
|
||||||
|
|||||||
Reference in New Issue
Block a user