Skip to content

Commit 8df594a

Browse files
Fix precommit on x86_64 machines (issue appeared because pre-commit testing was not performed on the architecture).
Related issue: #161 JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
1 parent 43ec3a3 commit 8df594a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ main (void)
449449
// External Magic String
450450
jerry_init (JERRY_FLAG_SHOW_OPCODES);
451451

452-
uint32_t num_magic_string_items = sizeof (magic_string_items) / sizeof (jerry_api_char_ptr_t);
452+
uint32_t num_magic_string_items = (uint32_t) (sizeof (magic_string_items) / sizeof (jerry_api_char_ptr_t));
453453
jerry_register_external_magic_strings (magic_string_items,
454454
num_magic_string_items,
455455
magic_string_lengths);

0 commit comments

Comments
 (0)