From: Dmitry Volyntsev Date: Thu, 16 Jan 2020 16:18:41 +0000 (+0300) Subject: Fixed format specifier in typed-array constructor. X-Git-Tag: 0.3.8~6 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=4bf8dedf764d9c4b64c047ce40c54d30e7997152;p=njs.git Fixed format specifier in typed-array constructor. --- diff --git a/src/njs_typed_array.c b/src/njs_typed_array.c index a7d683d0..8fd703a7 100644 --- a/src/njs_typed_array.c +++ b/src/njs_typed_array.c @@ -63,7 +63,7 @@ njs_typed_array_constructor(njs_vm_t *vm, njs_value_t *args, njs_uint_t nargs, size *= element_size; if (njs_slow_path((offset + size) > buffer->size)) { - njs_range_error(vm, "Invalid typed array length: %uD", size); + njs_range_error(vm, "Invalid typed array length: %uL", size); return NJS_ERROR; }