mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix format string in main-benchmark.c (#4970)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
parent
0ef509458e
commit
aead4b79a9
@ -211,7 +211,9 @@ stack_usage (uint32_t *stack_top_p, size_t length_in_bytes)
|
||||
stack_p++;
|
||||
}
|
||||
|
||||
jerry_log (JERRY_LOG_LEVEL_ERROR, "Used stack: %d\n", (int) ((uint8_t *) stack_bottom_p - (uint8_t *) stack_p));
|
||||
jerry_log (JERRY_LOG_LEVEL_ERROR,
|
||||
"Used stack: %u\n",
|
||||
(unsigned int) ((uint8_t *) stack_bottom_p - (uint8_t *) stack_p));
|
||||
} /* stack_usage */
|
||||
|
||||
#else /* (JERRY_TEST_STACK_MEASURE) && (JERRY_TEST_STACK_MEASURE) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user