Skip to content

Commit

Permalink
Fix build break on OSX: Invalid type comparision.
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee [email protected]
  • Loading branch information
lemmaa committed Jan 29, 2016
1 parent 3703b1b commit eda775a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jerry-core/parser/js/bc/bytecode-data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eda775a

Please sign in to comment.