Dmitry Volyntsev
January 16, 2020 11:36AM
details: https://hg.nginx.org/njs/rev/6017c94f59b2
branches:
changeset: 1303:6017c94f59b2
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Jan 16 19:18:41 2020 +0300
description:
Fixed format specifier in typed-array constructor.

diffstat:

src/njs_typed_array.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 22e3b0285ad6 -r 6017c94f59b2 src/njs_typed_array.c
--- a/src/njs_typed_array.c Thu Jan 16 19:18:41 2020 +0300
+++ b/src/njs_typed_array.c Thu Jan 16 19:18:41 2020 +0300
@@ -63,7 +63,7 @@ njs_typed_array_constructor(njs_vm_t *vm
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;
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed format specifier in typed-array constructor.

Dmitry Volyntsev 155 January 16, 2020 11:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready