Change in link_stack function.
node_stack allocator is taking a char* instead of void*.