Use C type casting instead of static_cast.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
committed by
László Langó
parent
764d74561d
commit
efc994b112
@@ -77,7 +77,7 @@ typedef void (*mem_try_give_memory_back_callback_t) (mem_try_give_memory_back_se
|
||||
* Get value of pointer from specified non-null compressed pointer value
|
||||
*/
|
||||
#define MEM_CP_GET_NON_NULL_POINTER(type, cp_value) \
|
||||
(static_cast<type *> (mem_decompress_pointer (cp_value)))
|
||||
((type *) (mem_decompress_pointer (cp_value)))
|
||||
|
||||
/**
|
||||
* Get value of pointer from specified compressed pointer value
|
||||
|
||||
Reference in New Issue
Block a user