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

This commit is contained in:
bratell%lysator.liu.se 2001-02-04 10:49:33 +00:00
parent 5de9a593c7
commit 24cad542ad

View File

@ -91,7 +91,8 @@ NS_COM PRBool nsID::Parse(const char *aIDStr)
PARSE_HYPHEN(aIDStr);
PARSE_CHARS_TO_NUM(aIDStr, m2, 4);
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_HYPHEN(aIDStr);
while(i < 8) {