From eda775a8ca17f34942190b9a14173730fa212c6a Mon Sep 17 00:00:00 2001 From: Sung-Jae Lee Date: Sat, 23 Jan 2016 17:33:10 +0900 Subject: [PATCH] Fix build break on OSX: Invalid type comparision. JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com --- jerry-core/parser/js/bc/bytecode-data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jerry-core/parser/js/bc/bytecode-data.cpp b/jerry-core/parser/js/bc/bytecode-data.cpp index ac31e1c48..524bbdc39 100644 --- a/jerry-core/parser/js/bc/bytecode-data.cpp +++ b/jerry-core/parser/js/bc/bytecode-data.cpp @@ -785,7 +785,7 @@ bc_load_bytecode_data (const uint8_t *snapshot_data_p, /**< buffer with instruct next_to_handle_list_p->next_header_cp = MEM_CP_NULL; next_to_handle_list_p = bc_header_list_iter_p; - if (next_to_handle_list_p == MEM_CP_NULL) + if (next_to_handle_list_p == NULL) { break; }