Type cast according to format string (#1368)
JerryScript-DCO-1.0-Signed-off-by: wonyong.kim wonyong.kim@samsung.com
This commit is contained in:
@@ -113,7 +113,7 @@ ecma_builtin_global_object_print (ecma_value_t this_arg, /**< this argument */
|
||||
0,
|
||||
JERRY_BITSINBYTE);
|
||||
|
||||
jerry_port_console ("\\u%02x%02x", byte_high, byte_low);
|
||||
jerry_port_console ("\\u%02x%02x", (unsigned int) byte_high, (unsigned int) byte_low);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user