Fix C compilation warning in duktape package

This commit is contained in:
Paweł Bylica 2019-07-05 11:37:35 +02:00
parent d9c75cd10e
commit db60898581
No known key found for this signature in database
GPG key ID: 7A0C037434FE77EF

View file

@ -135,7 +135,7 @@ static duk_ret_t duk__logger_prototype_log_shared(duk_context *ctx) {
duk_size_t arg_len;
duk_uint8_t *buf, *p;
const duk_uint8_t *q;
duk_uint8_t date_buf[32]; /* maximum format length is 24+1 (NUL), round up. */
duk_uint8_t date_buf[85]; /* maximum format length is 24+1 (NUL), round up. */
duk_size_t date_len;
duk_small_int_t rc;