Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard.

This commit is contained in:
bratell@lysator.liu.se
2005-08-09 00:20:29 +00:00
parent 8766574566
commit 8b734cc4eb

View File

@@ -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) {