Add explicit casts to enum-to-integer conversions (#2467)
Clang 6 is more picky about implicit conversions and complains about loss of presicion and/or change of signedness. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
This commit is contained in:
1 parent
d7cb48d4cc
commit
b31e43075a
10 files changed
+24
-24
No files matched your search
@@ -72,5 +72,5 @@ void jerry_port_fatal (jerry_fatal_code_t code) /**< cause of error */
|
||||
}
|
||||
#endif /* !DISABLE_EXTRA_API */
|
||||
|
||||
exit (code);
|
||||
exit ((int) code);
|
||||
} /* jerry_port_fatal */
|
||||
Reference in new issue
Block a user