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:
chokobole
2016-09-23 16:47:13 +09:00
committed by Akos Kiss
parent 40bed0f963
commit 547647af13
3 changed files with 14 additions and 12 deletions
@@ -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);
}
}