}
if (num_start < 0 || (size_t) num_start > array->length) {
- return JS_ThrowRangeError(ctx, "\"%sStart\" is out of range: %ld",
+ return JS_ThrowRangeError(ctx, "\"%sStart\" is out of range: %" PRId64,
name, num_start);
}
}
if (num_end < 0 || (size_t) num_end > array->length) {
- return JS_ThrowRangeError(ctx, "\"%sEnd\" is out of range: %ld",
+ return JS_ThrowRangeError(ctx, "\"%sEnd\" is out of range: %" PRId64,
name, num_end);
}
size = magic >> 2;
if (size + index > self.length) {
- return JS_ThrowRangeError(ctx, "index %lu is outside the bound of the"
- " buffer", index);
+ return JS_ThrowRangeError(ctx, "index %" PRIu64 " is outside the bound"
+ " of the buffer", index);
}
little = magic & 1;
}
if (size + index > self.length) {
- return JS_ThrowRangeError(ctx, "index %lu is outside the bound of the"
- " buffer", index);
+ return JS_ThrowRangeError(ctx, "index %" PRIu64 " is outside the bound"
+ " of the buffer", index);
}
sign = (magic >> 1) & 1;
}
if (size + index > self.length) {
- return JS_ThrowRangeError(ctx, "index %lu is outside the bound of the"
- " buffer", index);
+ return JS_ThrowRangeError(ctx, "index %" PRIu64 " is outside the bound"
+ " of the buffer", index);
}
little = magic & 1;
size = magic >> 2;
if (size + index > self.length) {
- return JS_ThrowRangeError(ctx, "index %lu is outside the bound of the"
- " buffer", index);
+ return JS_ThrowRangeError(ctx, "index %" PRIu64 " is outside the bound"
+ " of the buffer", index);
}
little = magic & 1;