Type cast according to format string (#1368)

JerryScript-DCO-1.0-Signed-off-by: wonyong.kim [email protected]
This commit is contained in:
chokobole authored and Akos Kiss committed 2016-09-23 09:47:13 +02:00
1 parent 40bed0f963
commit 547647af13
3 files changed
+14 -12

No files matched your search

@@ -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);
}
}