Fix warnings found from that Introduce lws_ptr_diff(head, tail) helper to normalize pointers to char *, do the subtraction and cast the result to int.