diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-22 21:50:01 +0100 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2022-10-23 17:22:56 +0100 |
commit | 743817c205be630cb46e4a2cef4da802b1f9084a (patch) | |
tree | 251ce8058c9f16d0ff073e57657e4f7257f755e8 /content | |
parent | cb5d63768c57a9428f961d340b1ff86a3289d581 (diff) | |
download | netsurf-743817c205be630cb46e4a2cef4da802b1f9084a.tar.gz netsurf-743817c205be630cb46e4a2cef4da802b1f9084a.tar.bz2 |
js: console: Fix argument type for formatting function
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/javascript/duktape/Console.bnd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/Console.bnd b/content/handlers/javascript/duktape/Console.bnd index 74601d6d4..89d13cfad 100644 --- a/content/handlers/javascript/duktape/Console.bnd +++ b/content/handlers/javascript/duktape/Console.bnd @@ -182,7 +182,7 @@ method Console::timeEnd() duk_del_prop(ctx, 0); duk_push_string(ctx, "Timer elapsed: "); duk_insert(ctx, 0); - duk_push_sprintf(ctx, "%lu ms", (duk_uint_t)(time_ms - old_time_ms)); + duk_push_sprintf(ctx, "%u ms", (duk_uint_t)(time_ms - old_time_ms)); write_log_entry(ctx, priv->group, BW_CS_FLAG_LEVEL_INFO); return 0; %} |