Bug 733260 followup: use uint32_t for array and string lengths, r=luke

This commit is contained in:
David Mandelin
2012-03-06 15:52:55 -08:00
parent 13ebbfcb12
commit 232a121344
40 changed files with 167 additions and 167 deletions

View File

@@ -712,9 +712,9 @@ js_CheckForStringIndex(jsid id)
const jschar *cp = s;
const jschar *end = s + n;
unsigned index = JS7_UNDEC(*cp++);
unsigned oldIndex = 0;
unsigned c = 0;
uint32_t index = JS7_UNDEC(*cp++);
uint32_t oldIndex = 0;
uint32_t c = 0;
if (index != 0) {
while (JS7_ISDEC(*cp)) {